Makes compiler minify JS files#
This commit is contained in:
parent
5410ad370a
commit
f250396ca1
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ case "$file" in
|
||||||
*config.h) make && sudo make install ;;
|
*config.h) make && sudo make install ;;
|
||||||
*\.c) cc "$file" -o "$base" && "$base" ;;
|
*\.c) cc "$file" -o "$base" && "$base" ;;
|
||||||
*\.py) python "$file" ;;
|
*\.py) python "$file" ;;
|
||||||
|
*\.js) cat "$file" | minify --js > "${base}.min.js" ;;
|
||||||
#*\.go) go run "$file" ;;
|
#*\.go) go run "$file" ;;
|
||||||
#*) shebangtest ;;
|
#*) shebangtest ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue