Updated some build scripts

This commit is contained in:
ridiculousfish 2012-05-24 23:56:07 -07:00
parent 87c0e0e971
commit dcd7d6769d
2 changed files with 5 additions and 5 deletions

View file

@ -5,9 +5,9 @@ mkdir -p /tmp/fish_pkg/
if make install prefix=/tmp/fish_pkg/usr/local/ if make install prefix=/tmp/fish_pkg/usr/local/
then then
echo "Root written to /tmp/fish_pkg/" echo "Root written to /tmp/fish_pkg/"
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fishfish.pkg if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_built/fishfish.pkg
then then
echo "Package written to ~/fishfish.pkg" echo "Package written to ~/fish_built/fishfish.pkg"
else else
echo "Package could not be written" echo "Package could not be written"
fi fi

View file

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
rm -f /tmp/fish_fish.tar /tmp/fish_fish.tar.gz rm -f ~/fish_built/fishfish.tar.gz
if git archive --format=tar fish_fish | gzip - > /tmp/fishfish.tar.gz if git archive --format=tar fish_fish | gzip - > ~/fish_built/fishfish.tar.gz
then then
echo "Tarball written to /tmp/fishfish.tar.gz" echo "Tarball written to ~/fish_built/fishfish.tar.gz"
else else
echo "Tarball could not be written" echo "Tarball could not be written"
fi fi