Some path fixes for the standalone lookup.
[remoteglot] / build.sh
1 #! /bin/sh
2
3 # Download http://dl.google.com/closure-compiler/compiler-latest.zip
4 # and unzip it in closure/ before running this script.
5
6 # The JQuery build comes from http://projects.jga.me/jquery-builder/,
7 # more specifically
8 #
9 # https://raw.githubusercontent.com/jgallen23/jquery-builder/0.7.0/dist/2.1.1/jquery-deprecated-sizzle.js
10
11 java -jar closure/compiler.jar \
12         --language_in ECMASCRIPT5 \
13         --compilation_level SIMPLE \
14         --js_output_file=www/js/remoteglot.min.js \
15         --externs externs/webstorage.js \
16         www/js/jquery-deprecated-sizzle.js \
17         www/js/chessboard-0.3.0.js \
18         www/js/chess.js \
19         www/js/json_delta.js \
20         www/js/remoteglot.js
21