]> git.sesse.net Git - remoteglot/blobdiff - build.sh
When something goes wrong, actually wait five seconds instead of DoSing the backend.
[remoteglot] / build.sh
index a03d72b441e7ea753a300f5c2c180b375128981d..9f97e35fd8383ee36365f8fee6420d922d9ddf76 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -3,13 +3,19 @@
 # Download http://dl.google.com/closure-compiler/compiler-latest.zip
 # and unzip it in closure/ before running this script.
 
+# The JQuery build comes from http://projects.jga.me/jquery-builder/,
+# more specifically
+#
+# https://raw.githubusercontent.com/jgallen23/jquery-builder/0.7.0/dist/2.1.1/jquery-deprecated-sizzle.js
+
 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/jquery-deprecated-sizzle.js \
        www/js/chessboard-0.3.0.js \
        www/js/chess.js \
+       www/js/json_delta.js \
+       www/js/jquery.sparkline.js \
        www/js/remoteglot.js