Skip to content
Snippets Groups Projects
Commit 6ef6e096 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

Merge pull request #629 from fetep/fixes/scripts

auto-fix PATH for uglifyjs, and exit on errors
parents a2ea682c 6c38a942
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
cd $(dirname "$0")/..
export PATH=$PWD/node_modules/.bin:$PATH
UGLIFY=`which uglifyjs 2> /dev/null`
if [ ! -x "$UGLIFY" ]; then
echo "uglifyjs not found in your path. Have you npm installed lately?"
......@@ -16,6 +18,8 @@ fi
UGLIFYCSS=`pwd`'/node_modules/uglifycss/uglifycss'
set -e # exit on errors
echo ''
echo '****Compressing include.js****'
echo ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment