X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=build.sh;fp=build.sh;h=a03d72b441e7ea753a300f5c2c180b375128981d;hp=0000000000000000000000000000000000000000;hb=5243478f883e4997134e3abc8da57b7680129c89;hpb=f7f72be1bd9d6e90f191bb67b2ddf25f0156dd38 diff --git a/build.sh b/build.sh new file mode 100755 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 +