diff options
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 |