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 5
5
FILE_SEP=' /'
6
6
PATH_SEP=' :'
7
7
OS_ID=` uname | tr [:upper:] [:lower:]`
8
+ CLJS_SCRIPT_MVN_OPTS=${CLJS_SCRIPT_MVN_OPTS:- " " }
8
9
9
10
if [[ $OS_ID == * mingw* ]]
10
11
then
16
17
17
18
CP_FILE=` mktemp /tmp/cljs_cp.txt.XXXXXXXXXXX`
18
19
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
20
21
21
22
CLJS_CP=` cat $CP_FILE `
22
23
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ rm -rf target
10
10
11
11
POM_TEMPLATE=" pom.template.xml"
12
12
POM_FILE=" pom.xml"
13
+ CLJS_SCRIPT_MVN_OPTS=${CLJS_SCRIPT_MVN_OPTS:- " " }
13
14
14
15
# The command `git describe --match v0.0` will return a string like
15
16
#
@@ -57,15 +58,15 @@ mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn
57
58
58
59
# For Hudson server
59
60
if [ " $HUDSON " = " true" ]; then
60
- mvn --fail-at-end -Psonatype-oss-release \
61
+ mvn --fail-at-end -Psonatype-oss-release $CLJS_SCRIPT_MVN_OPTS \
61
62
clean deploy nexus-staging:release
62
63
63
64
echo " Creating tag $TAG "
64
65
git tag -f " $TAG "
65
66
git push origin " $TAG "
66
67
else
67
68
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
69
70
fi
70
71
71
72
rm -f src/main/cljs/cljs/core.aot.js
You can’t perform that action at this time.
0 commit comments