From bc5af8d6e46944007a4b49522d8d0fa701bbf471 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 23 Oct 2013 13:11:06 -0500 Subject: [PATCH] check that compile script runs --- compile-with-closure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compile-with-closure.sh b/compile-with-closure.sh index 50a93f2..a37c80f 100755 --- a/compile-with-closure.sh +++ b/compile-with-closure.sh @@ -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%})();' \ -- 2.7.4