mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
Added gzip support #82 bugfix
This commit is contained in:
parent
c52fc549e1
commit
c704e31beb
2 changed files with 1 additions and 1 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue