This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
forked from enyojs/enyo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:enyojs/enyo
- Loading branch information
Showing
4 changed files
with
21 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/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 |