From 108f0844ba7151366df4674e54c0f9c85049385e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 22 Aug 2022 10:07:00 -0700 Subject: Fix macOS zip so pandoc-server is a symlink. This cuts its size by 2x. --- macos/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Makefile b/macos/Makefile index a0210b643..3f3ea4293 100644 --- a/macos/Makefile +++ b/macos/Makefile @@ -21,7 +21,7 @@ $(BASE)-macOS.pkg: pandoc.pkg $(BASE)-macOS.zip: $(DEST)/bin/pandoc-server signed.txt ln -s $(DEST) $(BASE) - zip -r $@ $(BASE) + zip --symlinks -r $@ $(BASE) gon.hcl: version.txt echo "notarize {\n path = \"$(BASE)-macOS.pkg\"\n bundle_id = \"org.pandoc.pandoc\"\n staple = true\n}\napple_id {\n username = \"jgm@berkeley.edu\"\n password = \"@env:AC_PASSWORD\"\n}" > $@ -- cgit v1.2.3