mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Update deployment script
This commit is contained in:
parent
98490e92f6
commit
f1112c973d
12
deploy.sh
12
deploy.sh
|
@ -52,15 +52,23 @@ function deploy_teavm {
|
||||||
-DgenerateBackupPoms=false \
|
-DgenerateBackupPoms=false \
|
||||||
|| { echo 'Setting version' ; return 1; }
|
|| { echo 'Setting version' ; return 1; }
|
||||||
|
|
||||||
mvn -T $TEAVM_DEPLOY_THREADS -e -V deploy \
|
mvn -T $TEAVM_DEPLOY_THREADS -e -V install \
|
||||||
--settings ../deploy-settings.xml \
|
--settings ../deploy-settings.xml \
|
||||||
-P with-idea -P with-cli -P deploy-to-teavm -P with-tests \
|
-P with-idea -P with-cli -P deploy-to-teavm -P with-tests \
|
||||||
-Dmaven.repo.local=`pwd`/../build-cache/maven-repository \
|
-Dmaven.repo.local=`pwd`/../build-cache/maven-repository \
|
||||||
-Dteavm.build.all=false \
|
-Dteavm.build.all=false \
|
||||||
-Dteavm.junit.optimized=false \
|
-Dteavm.junit.optimized=true \
|
||||||
-Dteavm.junit.js.decodeStack=false \
|
-Dteavm.junit.js.decodeStack=false \
|
||||||
-Dteavm.junit.threads=$TEAVM_DEPLOY_TEST_THREADS \
|
-Dteavm.junit.threads=$TEAVM_DEPLOY_TEST_THREADS \
|
||||||
-Dteavm.junit.js.runner=browser-chrome \
|
-Dteavm.junit.js.runner=browser-chrome \
|
||||||
|
|| { echo 'Build failed' ; return 1; }
|
||||||
|
|
||||||
|
mvn -T $TEAVM_DEPLOY_THREADS -e -V deploy \
|
||||||
|
--settings ../deploy-settings.xml \
|
||||||
|
-P with-idea -P with-cli -P deploy-to-teavm \
|
||||||
|
-Dmaven.repo.local=`pwd`/../build-cache/maven-repository \
|
||||||
|
-Dteavm.build.all=false \
|
||||||
|
-DskipTests \
|
||||||
|| { echo 'Deploy failed' ; return 1; }
|
|| { echo 'Deploy failed' ; return 1; }
|
||||||
|
|
||||||
cat <<EOF >idea-repository.xml
|
cat <<EOF >idea-repository.xml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user