2020-06-13 09:51:29 +02:00
|
|
|
set -e
|
2020-06-11 18:37:56 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#this will hopefully download all konan dependancies that we use in the build scripts
|
2020-06-11 20:29:50 +02:00
|
|
|
|
2020-06-11 18:37:56 +02:00
|
|
|
./gradlew multiplatform-crypto-api:build
|
|
|
|
cd sodiumWrapper
|
2020-06-11 20:29:50 +02:00
|
|
|
echo "Starting mingw libsodium build"
|
2020-06-13 09:25:54 +02:00
|
|
|
./configureMingw64.sh
|
|
|
|
echo "Configure done"
|
|
|
|
$GNU_MAKE -j4 -C libsodium clean
|
|
|
|
$GNU_MAKE -j4 -C libsodium
|
|
|
|
$GNU_MAKE -j4 -C libsodium install
|
2020-06-11 20:29:50 +02:00
|
|
|
echo "completed libsodium build"
|
2020-06-11 18:37:56 +02:00
|
|
|
#now we can do the delegated build
|
|
|
|
cd ..
|
2020-06-13 09:25:54 +02:00
|
|
|
./gradlew multiplatform-crypto-delegated:build
|
2020-06-13 18:52:06 +02:00
|
|
|
./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository
|
2020-06-13 13:08:03 +02:00
|
|
|
set +e
|