From f1112c973d87364d0ed859207b86415fbabeb921 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 19 May 2022 13:56:41 +0300 Subject: [PATCH] Update deployment script --- deploy.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index f8eb7cd96..1e5453bc2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -52,16 +52,24 @@ function deploy_teavm { -DgenerateBackupPoms=false \ || { 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 \ -P with-idea -P with-cli -P deploy-to-teavm -P with-tests \ -Dmaven.repo.local=`pwd`/../build-cache/maven-repository \ -Dteavm.build.all=false \ - -Dteavm.junit.optimized=false \ + -Dteavm.junit.optimized=true \ -Dteavm.junit.js.decodeStack=false \ -Dteavm.junit.threads=$TEAVM_DEPLOY_TEST_THREADS \ -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 <idea-repository.xml