forked from Kingsman44/Pixelify
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·34 lines (32 loc) · 843 Bytes
/
build.sh
File metadata and controls
executable file
·34 lines (32 loc) · 843 Bytes
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
#!/bin/bash
source colors.sh || echo "Colors file could not be loaded"
yellow "Select your build version"
red "1 for BETA"
green "2 for STABLE"
read -p "Enter your selection: " SELECTION
case $SELECTION in
"1")
red "building BETA version"
echo ""
red "Building VK version"
./gradlew :beta:zipRelease --no-configuration-cache
red "Building no VK version"
./gradlew :beta:novkzipRelease --no-configuration-cache
blue "Cleaning"
./gradlew :beta:cleanDir --no-configuration-cache
;;
"2")
green "building STABLE version"
echo ""
green "Building VK version"
./gradlew :stable:zipRelease --no-configuration-cache
green "Building no VK version"
./gradlew :stable:novkzipRelease --no-configuration-cache
blue "Cleaning"
./gradlew :stable:cleanDir --no-configuration-cache
;;
*)
blue "No option selected, aborting"
exit 1
;;
esac