Split mac builds into different scripts
This commit is contained in:
parent
c3432bc299
commit
376283b736
16
macBuild-mac-ios.sh
Normal file
16
macBuild-mac-ios.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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:iosArm32MainKlibrary multiplatform-crypto-delegated:iosArm32TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:iosArm64MainKlibrary multiplatform-crypto-delegated:iosArm64TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:iosX64MainKlibrary multiplatform-crypto-delegated:iosX64TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:macosX64MainKlibrary multiplatform-crypto-delegated:macosX64TestKlibrary
|
||||||
|
set +e
|
||||||
|
|
5
macBuild-pure.sh
Normal file
5
macBuild-pure.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
set -e
|
||||||
|
#!/bin/sh
|
||||||
|
./gradlew multiplatform-crypto-api:build
|
||||||
|
./gradlew multiplatform-crypto:build
|
||||||
|
set +e
|
13
macBuild-tvos.sh
Normal file
13
macBuild-tvos.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:tvosX64MainKlibrary multiplatform-crypto-delegated:tvosX64TestKlibrary
|
||||||
|
set +e
|
14
macBuild-watchos.sh
Normal file
14
macBuild-watchos.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:watchosArm64MainKlibrary multiplatform-crypto-delegated:watchosArm64TestKlibrary \
|
||||||
|
multiplatform-crypto-delegated:watchosX86MainKlibrary multiplatform-crypto-delegated:watchosX86TestKlibrary
|
||||||
|
set +e
|
15
macBuildAndPublish-mac-ios.sh
Normal file
15
macBuildAndPublish-mac-ios.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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:publishIosArm32PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto-delegated:publishIosArm64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto-delegated:publishIosX64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto-delegated:publishMacosX64PublicationToMavenRepository
|
||||||
|
set +e
|
20
macBuildAndPublish-pure.sh
Normal file
20
macBuildAndPublish-pure.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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:publishIosArm32PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishIosArm64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishIosX64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishMacosX64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishTvosArm64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishTvosX64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishWatchosArm32PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishWatchosArm64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto:publishWatchosX86PublicationToMavenRepository
|
||||||
|
set +e
|
13
macBuildAndPublish-tvos.sh
Normal file
13
macBuildAndPublish-tvos.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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
|
14
macBuildAndPublish-watchos.sh
Normal file
14
macBuildAndPublish-watchos.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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:publishWatchosArm32PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto-delegated:publishWatchosArm64PublicationToMavenRepository \
|
||||||
|
multiplatform-crypto-delegated:publishWatchosX86PublicationToMavenRepository
|
||||||
|
set +e
|
@ -1,17 +0,0 @@
|
|||||||
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
|
|
||||||
./makeTvos.sh
|
|
||||||
./makeWatchos.sh
|
|
||||||
#now we can do the delegated build
|
|
||||||
cd ..
|
|
||||||
./gradlew multiplatform-crypto-delegated:build
|
|
||||||
#and finally pure build
|
|
||||||
./gradlew multiplatform-crypto:build
|
|
||||||
./gradlew build publishIos64ArmPublicationToSnapshotRepository publishIosPublicationToSnapshotRepository publishMacosX64PublicationToSnapshotRepository publishIos32ArmPublicationToSnapshotRepository
|
|
||||||
set +e
|
|
Loading…
x
Reference in New Issue
Block a user