Finish when child fails

This commit is contained in:
Ugljesa Jovanovic 2020-06-10 22:33:10 +02:00 committed by Ugljesa Jovanovic
parent 2f84c2dbf3
commit be8b390a6c
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew multiplatform-crypto-api:build
@ -17,5 +18,5 @@ cd ..
./gradlew multiplatform-crypto-delegated:build
#and finally pure build
./gradlew multiplatform-crypto:build
set +e

View File

@ -1,3 +1,4 @@
set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew multiplatform-crypto-api:build
@ -18,3 +19,4 @@ cd ..
#and finally pure build
./gradlew multiplatform-crypto:build
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
set +e