2012-05-10 09:11:28 +00:00
|
|
|
#!/bin/sh -x
|
|
|
|
|
2012-05-30 07:27:50 +00:00
|
|
|
make distclean
|
2013-04-13 08:59:07 +00:00
|
|
|
rm -Rf /tmp/fish_pkg
|
|
|
|
mkdir -p /tmp/fish_pkg/root /tmp/fish_pkg/intermediates /tmp/fish_pkg/dst
|
2012-05-30 07:27:50 +00:00
|
|
|
|
2013-04-13 08:59:07 +00:00
|
|
|
xcodebuild install -scheme install_tree -configuration Release DSTROOT=/tmp/fish_pkg/root/
|
|
|
|
pkgbuild --scripts build_tools/osx_package_scripts --root /tmp/fish_pkg/root/ --identifier 'com.ridiculousfish.fish-shell-pkg' /tmp/fish_pkg/intermediates/fish.pkg
|
2012-05-30 07:27:50 +00:00
|
|
|
|
2013-04-13 08:59:07 +00:00
|
|
|
productbuild --package-path /tmp/fish_pkg/intermediates --distribution build_tools/osx_distribution.xml --resources build_tools/osx_package_resources/ ~/fish_built/fish.pkg
|