]> git.sesse.net Git - remoteglot/blobdiff - build.sh
Clean up the minification stuff a bit; still not really in use.
[remoteglot] / build.sh
diff --git a/build.sh b/build.sh
new file mode 100755 (executable)
index 0000000..a03d72b
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+# Download http://dl.google.com/closure-compiler/compiler-latest.zip
+# and unzip it in closure/ before running this script.
+
+java -jar closure/compiler.jar \
+       --language_in ECMASCRIPT5 \
+       --compilation_level SIMPLE \
+       --js_output_file=www/js/remoteglot.min.js \
+       --externs externs/jquery-1.9.js \
+       --externs externs/webstorage.js \
+       www/js/chessboard-0.3.0.js \
+       www/js/chess.js \
+       www/js/remoteglot.js
+