check that compile script runs
authorDan Vanderkam <danvdk@gmail.com>
Wed, 23 Oct 2013 18:11:06 +0000 (13:11 -0500)
committerDan Vanderkam <danvdk@gmail.com>
Wed, 23 Oct 2013 18:11:06 +0000 (13:11 -0500)
compile-with-closure.sh

index 50a93f2..a37c80f 100755 (executable)
@@ -6,7 +6,9 @@
 # It outputs minified JS to a temp file. This should be ignored for now, until
 # it's fully functional.
 
-java -jar ../../closure-compiler-read-only/build/compiler.jar  \
+CLOSURE_COMPILER=../../closure-compiler-read-only/build/compiler.jar
+
+java -jar $CLOSURE_COMPILER \
  --compilation_level ADVANCED_OPTIMIZATIONS  \
  --warning_level VERBOSE  \
  --output_wrapper='(function() {%output%})();'  \