Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5697b3f118
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.404 kb
#!/bin/bash
# the folder this script is in (*/enyo/tools)
TOOLS=$(cd `dirname $0`; pwd)
# enyo location
ENYO=$TOOLS/..
# minify script location
MINIFY=$TOOLS/minifier/minify.js
# check for node, but quietly
if command -v node >/dev/null 2>&1; then
# use node to invoke minify with a known path to enyo and imported parameters
node $MINIFY -enyo $ENYO $@
else
echo "No node found in path"
exit 1
fi
Jump to Line
Something went wrong with that request. Please try again.