From 7d95768a924a8c02ded610781c0f05cb5f72cfca Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 5 Oct 2013 17:06:22 -0700 Subject: [PATCH] Update OS X make_pkg script to also produce fish.app --- build_tools/make_pkg.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build_tools/make_pkg.sh b/build_tools/make_pkg.sh index 2fb452eac..1b041bdcd 100755 --- a/build_tools/make_pkg.sh +++ b/build_tools/make_pkg.sh @@ -21,3 +21,10 @@ xcodebuild install -scheme install_tree -configuration Release DSTROOT=/tmp/fish pkgbuild --scripts build_tools/osx_package_scripts --root /tmp/fish_pkg/root/ --identifier 'com.ridiculousfish.fish-shell-pkg' --version "$VERSION" /tmp/fish_pkg/intermediates/fish.pkg productbuild --package-path /tmp/fish_pkg/intermediates --distribution build_tools/osx_distribution.xml --resources build_tools/osx_package_resources/ ~/fish_built/fish.pkg + + +# Make the app +xcodebuild -scheme fish.app -configuration Release DSTROOT=/tmp/fish_app/ +rm -f ~/fish_built/fish.app.zip +cd DerivedData/fish/Build/Products/Release/ +zip -r ~/fish_built/fish.app.zip fish.app