libsodium_wasm_experimental/macBuildAndPublish-tvos.sh

14 lines
460 B
Bash
Raw Normal View History

set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew multiplatform-crypto-api:build
#now let's build linux deps
cd sodiumWrapper
./makeMacosX86-64.sh
./makeIos.sh
#now we can do the delegated build of ios and macos libraries
cd ..
./gradlew multiplatform-crypto-delegated:publishTvosArm64PublicationToMavenRepository \
multiplatform-crypto-delegated:publishTvosX64PublicationToMavenRepository
set +e