From 57cce481460efd7c9897c59652b544ef65063837 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 9 Oct 2011 18:18:23 +0200 Subject: updated js/mootools, some parts now coffeescript --- module/web/compile_js.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 module/web/compile_js.sh (limited to 'module/web/compile_js.sh') 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 -- cgit v1.2.3