Added gzip support #82 bugfix

This commit is contained in:
logsol 2014-12-20 05:39:35 +01:00
parent c52fc549e1
commit c704e31beb
2 changed files with 1 additions and 1 deletions

View file

@ -4,6 +4,6 @@ if [ -d "build" ]; then
echo "\\033[1;36mcompiling client scripts...\\033[0m" echo "\\033[1;36mcompiling client scripts...\\033[0m"
rm -f "client.min.js.gz" rm -f "client.min.js.gz"
../node_modules/requirejs/bin/r.js -o build.js > /dev/null \ ../node_modules/requirejs/bin/r.js -o build.js > /dev/null \
&& gzip --keep client.min.js && echo "\\033[1;32mdone.\\033[0m" && gzip -c client.min.js > client.min.js.gz && echo "\\033[1;32mdone.\\033[0m"
cd .. cd ..
fi fi

Binary file not shown.