diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-09 18:29:42 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-09 18:29:42 +0200 |
commit | 18eb66b6aec6abcb0c18f6fdb333b42484d656b0 (patch) | |
tree | e1c4271f3eec0289ece071b156ed92e2ddf31cfc /module/web/compile_js.sh | |
parent | Add tooltips to the Activity bar (diff) | |
parent | updated js/mootools, some parts now coffeescript (diff) | |
download | pyload-18eb66b6aec6abcb0c18f6fdb333b42484d656b0.tar.xz |
Merged in mineo/pyload (pull request #1)
Diffstat (limited to 'module/web/compile_js.sh')
-rwxr-xr-x | module/web/compile_js.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/web/compile_js.sh b/module/web/compile_js.sh new file mode 100755 index 000000000..79adb1bed --- /dev/null +++ b/module/web/compile_js.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +for file in media/js/*.coffee +do + echo "Compiling ${file}" + cat ${file} | coffee -cbs | yuicompressor --type js > ${file/.coffee/.js} +done |