-
Notifications
You must be signed in to change notification settings - Fork 95
/
run-check.sh
executable file
·48 lines (47 loc) · 1.57 KB
/
run-check.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
if [ "$1" == "macos-latest" ]; then
./gradlew detektIosArm64Main \
detektIosSimulatorArm64Main \
detektIosX64Main \
detektMacosArm64Main \
detektMacosX64Main \
detektTvosArm64Main \
detektTvosSimulatorArm64Main \
detektTvosX64Main \
detektWatchosArm32Main \
detektWatchosArm64Main \
detektWatchosSimulatorArm64Main \
detektWatchosX64Main \
detektWatchosX86Main \
iosSimulatorArm64Test \
iosX64Test \
macosArm64Test \
macosX64Test \
tvosSimulatorArm64Test \
tvosX64Test \
watchosSimulatorArm64Test \
watchosX64Test \
watchosX86Test \
publishIosArm64PublicationToMavenLocal \
publishIosSimulatorArm64PublicationToMavenLocal \
publishIosX64PublicationToMavenLocal \
publishMacosArm64PublicationToMavenLocal \
publishMacosX64PublicationToMavenLocal \
publishTvosArm64PublicationToMavenLocal \
publishTvosSimulatorArm64PublicationToMavenLocal \
publishTvosX64PublicationToMavenLocal \
publishWatchosArm32PublicationToMavenLocal \
publishWatchosArm64PublicationToMavenLocal \
publishWatchosSimulatorArm64PublicationToMavenLocal \
publishWatchosX64PublicationToMavenLocal \
publishWatchosX86PublicationToMavenLocal \
publishSwiftuiAdditionsPublicationToMavenLocal
elif [ "$1" == "windows-latest" ]; then
./gradlew detektMingwX64Main \
mingwX64Test \
publishMingwX64PublicationToMavenLocal
elif [ "$1" == "ubuntu-latest" ]; then
./gradlew detektWithoutTests build publishToMavenLocal
else
./gradlew detektWithoutTests build publishToMavenLocal
fi