File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 55FILE_SEP=' /'
66PATH_SEP=' :'
77OS_ID=` uname | tr [:upper:] [:lower:]`
8+ CLJS_SCRIPT_MVN_OPTS=${CLJS_SCRIPT_MVN_OPTS:- " " }
89
910if [[ $OS_ID == * mingw* ]]
1011then
1617
1718CP_FILE=` mktemp /tmp/cljs_cp.txt.XXXXXXXXXXX`
1819
19- mvn -f pom.template.xml dependency:build-classpath -Dmdep.outputFile=$CP_FILE -Dmdep.fileSeparator=$FILE_SEP -Dmdep.pathSeparator=$PATH_SEP
20+ mvn -f pom.template.xml dependency:build-classpath -Dmdep.outputFile=$CP_FILE -Dmdep.fileSeparator=$FILE_SEP -Dmdep.pathSeparator=$PATH_SEP $CLJS_SCRIPT_MVN_OPTS
2021
2122CLJS_CP=` cat $CP_FILE `
2223
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ rm -rf target
1010
1111POM_TEMPLATE=" pom.template.xml"
1212POM_FILE=" pom.xml"
13+ CLJS_SCRIPT_MVN_OPTS=${CLJS_SCRIPT_MVN_OPTS:- " " }
1314
1415# The command `git describe --match v0.0` will return a string like
1516#
@@ -57,15 +58,15 @@ mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn
5758
5859# For Hudson server
5960if [ " $HUDSON " = " true" ]; then
60- mvn --fail-at-end -Psonatype-oss-release \
61+ mvn --fail-at-end -Psonatype-oss-release $CLJS_SCRIPT_MVN_OPTS \
6162 clean deploy nexus-staging:release
6263
6364 echo " Creating tag $TAG "
6465 git tag -f " $TAG "
6566 git push origin " $TAG "
6667else
6768 echo " Skipping remote deployment and Git tag because we are not on Hudson."
68- mvn clean install
69+ mvn $CLJS_SCRIPT_MVN_OPTS clean install
6970fi
7071
7172rm -f src/main/cljs/cljs/core.aot.js
You can’t perform that action at this time.
0 commit comments