1
Fork 0

Removed old modules

This commit is contained in:
Jake Howard 2016-01-23 22:57:00 +00:00
parent c31d59773a
commit 6424ac5d07

View file

@ -12,15 +12,11 @@ mkdir -p static/build/js/lib
if [[ $@ == prod ]]
then
echo ">> Compressing Libraries..."
uglifyjs node_modules/markdown/lib/markdown.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/markdown.js
uglifyjs node_modules/bootstrap/dist/js/bootstrap.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/bootstrap.js
uglifyjs node_modules/bootstrap-material-design/dist/js/material.min.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/bootstrap-material.js
uglifyjs static/build/js/lib/* --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/libs.js
else
echo ">> Building Libraries..."
cp node_modules/markdown/lib/markdown.js static/build/js/lib/markdown.js
cp node_modules/bootstrap/dist/js/bootstrap.js static/build/js/lib/bootstrap.js
cp node_modules/bootstrap-material-design/dist/js/material.min.js static/build/js/lib/bootstrap-material.js
uglifyjs static/build/js/lib/* --screw-ie8 --stats --keep-fnames -o static/build/js/libs.js
fi