21 lines
602 B
Bash
Executable File
21 lines
602 B
Bash
Executable File
set -e
|
|
#!/bin/sh
|
|
#this will hopefully download all konan dependancies that we use in the build scripts
|
|
./gradlew --no-daemon clean
|
|
./gradlew --no-daemon multiplatform-crypto-api:build
|
|
cd sodiumWrapper
|
|
echo "Starting mingw libsodium build"
|
|
./configureMingw64.sh
|
|
echo "Configure done"
|
|
make -j4 -C libsodium clean
|
|
make -j4 -C libsodium
|
|
make -j4 -C libsodium install
|
|
echo "completed libsodium build"
|
|
#now we can do the delegated build
|
|
cd ..
|
|
./gradlew --no-daemon multiplatform-crypto-delegated:build
|
|
#and then libsodium bindings
|
|
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:build
|
|
set +e
|
|
|