mirror of https://github.com/vitalif/phantomjs
parent
1fd9c20835
commit
b20aa4345e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue