File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ DOWNLOAD_DIR="$TMPDIR/codenameone-tools"
1919mkdir -p " $DOWNLOAD_DIR "
2020ENV_DIR=" $DOWNLOAD_DIR /tools"
2121mkdir -p " $ENV_DIR "
22+ CN1_BINARIES=" ../cn1-binaries"
2223
2324# Reuse previously saved environment if present (so we can skip downloads)
2425if [ -f " $ENV_DIR /env.sh" ]; then
@@ -150,8 +151,9 @@ log "Maven version:"; "$MAVEN_HOME/bin/mvn" -version
150151
151152PATH=" $JAVA_HOME /bin:$MAVEN_HOME /bin:$PATH "
152153
153- log " Downloading cn1-binaries"
154- " $MAVEN_HOME /bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true download-cn1-binaries
154+ log " Cloning cn1-binaries"
155+ rm -Rf " $CN1_BINARIES "
156+ git clone https://github.com/codenameone/cn1-binaries " $CN1_BINARIES "
155157
156158log " Building Codename One core modules"
157159" $MAVEN_HOME /bin/mvn" -f maven/pom.xml -DskipTests -Djava.awt.headless=true install " $@ "
You can’t perform that action at this time.
0 commit comments