Skip to content

Commit

Permalink
script/aot_core tweak for Hudson
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Mar 7, 2015
1 parent 2c9c100 commit 744a92c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion script/aot_core
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,13 @@ mvn -f pom.template.xml dependency:build-classpath -Dmdep.outputFile=$CP_FILE

CLJS_CP=`cat $CP_FILE`

java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
# For Hudson server
if [ "$HUDSON" = "true" ]; then
$JAVA_HOME/bin/java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
else
java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
fi




0 comments on commit 744a92c

Please sign in to comment.