mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Update deployment script
This commit is contained in:
parent
98490e92f6
commit
f1112c973d
14
deploy.sh
14
deploy.sh
|
@ -52,16 +52,24 @@ 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 'Deploy failed' ; return 1; }
|
|| { 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; }
|
||||||
|
|
||||||
cat <<EOF >idea-repository.xml
|
cat <<EOF >idea-repository.xml
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user