Ariya Hidayat 2011-09-10 11:02:49 -07:00
parent 1fd9c20835
commit b20aa4345e
1 changed files with 6 additions and 2 deletions

View File

@ -51,5 +51,9 @@ make -j$COMPILE_JOBS
echo "Compressing PhantomJS executable..."
echo
[ ! -z strip ] && strip bin/phantomjs
[ ! -z upx ] && upx -9 bin/phantomjs
strip bin/phantomjs
if [ `command -v upx` ]; then
upx -9 bin/phantomjs
else
echo "You don't have UPX. Consider installing it to reduce the executable size."
fi