From fd97209c87f1de6e60e275b61b5d7a6e1939ccf6 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 17 Feb 2026 09:20:32 +0100 Subject: [PATCH] [build] Remove to create msbuild.zip/bundle.zip. We don't use the msbuild.zip/bundle.zip files anymore, so the code to produce these can be deleted. --- Makefile | 13 ------------- release/.gitignore | 14 -------------- release/Makefile | 43 ------------------------------------------- 3 files changed, 70 deletions(-) delete mode 100644 release/.gitignore delete mode 100644 release/Makefile diff --git a/Makefile b/Makefile index 4de895635c0a..aa000f2ee604 100644 --- a/Makefile +++ b/Makefile @@ -64,19 +64,6 @@ install-hook:: all-hook install-hook:: $(Q) $(MAKE) -C dotnet shutdown-build-server -.PHONY: package release -package release: - $(Q) $(MAKE) -C $(TOP)/release release - # copy .pkg, .zip and *updateinfo to the packages directory to be uploaded to storage - $(Q) mkdir -p ../package - $(Q) echo "Output from 'make release':" - $(Q) ls -la $(TOP)/release | sed 's/^/ /' - $(Q) if test -n "$$(shopt -s nullglob; echo $(TOP)/release/*.pkg)"; then $(CP) $(TOP)/release/*.pkg ../package; fi - $(Q) if test -n "$$(shopt -s nullglob; echo $(TOP)/release/*.zip)"; then $(CP) $(TOP)/release/*.zip ../package; fi - $(Q) if test -n "$$(shopt -s nullglob; echo $(TOP)/release/*updateinfo)"; then $(CP) $(TOP)/release/*updateinfo ../package; fi - $(Q) echo "Packages:" - $(Q) ls -la ../package | sed 's/^/ /' - dotnet-install-system: $(Q) $(MAKE) -C dotnet install-system diff --git a/release/.gitignore b/release/.gitignore deleted file mode 100644 index e2da9de7e33c..000000000000 --- a/release/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -*.pkg -ios-updateinfo -ios-tmp-package -ios-meta-package -ios-work -mac-updateinfo -mac-tmp-package -mac-work -mac-work-uninstall -_ios-install -_mac-install -xma-tmp-package -xma-work -*.zip diff --git a/release/Makefile b/release/Makefile deleted file mode 100644 index bf6bee6c597c..000000000000 --- a/release/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -TOP=../../xamarin-macios -include $(TOP)/Make.config - -release package: - $(MAKE) bundle.zip msbuild.zip - -# msbuild.zip and bundle.zip are uploaded to wrench and packaged into the VS plugin -msbuild.zip: - rm -Rf msbuild $@ - mkdir -p msbuild - mkdir -p msbuild/iOS - mkdir -p msbuild/WatchOS - mkdir -p msbuild/TVOS - mkdir -p msbuild/Mac - mkdir -p msbuild/maccore/src - mkdir -p msbuild/maccore/tools/mtouch - mkdir -p msbuild/maccore/msbuild/Xamarin.ObjcBinding.Tasks -ifdef INCLUDE_IOS - cp -aL $(TOP)/src/Constants.iOS.cs.in msbuild/maccore/src/Constants.cs -endif - $(SYSTEM_MSBUILD) $(TOP)/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj -r /p:Configuration=Release /p:"IncludeMSBuildAssets=all" - cp -R $(TOP)/msbuild/Xamarin.iOS.Tasks/bin/Release/netstandard2.0/ msbuild/iOS - $(SYSTEM_MSBUILD) $(TOP)/msbuild/Xamarin.iOS.Tasks.Windows/Xamarin.iOS.Tasks.Windows.csproj -r /p:Configuration=Release - cp -R $(TOP)/msbuild/Xamarin.iOS.Tasks.Windows/bin/Release/netstandard2.0/win/ msbuild/iOS - $(SYSTEM_MSBUILD) $(TOP)/msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Tasks.csproj -r /p:Configuration=Release - cp -R $(TOP)/msbuild/Xamarin.Mac.Tasks/bin/Release/netstandard2.0/ msbuild/Mac - mv -f msbuild/iOS/*TVOS*.* msbuild/TVOS - cd msbuild && zip -9 -r $(abspath $@) . - rm -rf msbuild - -bundle.zip: - rm -f $@ - $(foreach platform,$(DOTNET_PLATFORMS),export $(platform)_NUGET_REF_NAME=$($(platform)_NUGET_REF_NAME);) \ - for platform in $(DOTNET_PLATFORMS); do \ - cd $(CURDIR); \ - rm -rf tmpdir; \ - mkdir -p Microsoft.$$platform.Ref/; \ - TMPVAR=$${platform}_NUGET_REF_NAME; \ - $(CP) -r $(DOTNET_DESTDIR)/$${!TMPVAR}/ref Microsoft.$$platform.Ref; \ - cd tmpdir; \ - zip -9 -r $(CURDIR)/bundle.zip ./Microsoft.$$platform.Ref/ref/; \ - rm -rf tmpdir; \ - done