-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·43 lines (39 loc) · 959 Bytes
/
build.sh
File metadata and controls
executable file
·43 lines (39 loc) · 959 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
35
36
37
38
39
40
41
42
43
#!/bin/bash
source colors.sh 2>/dev/null || echo "error, could not load colors file"
echo "What submdoule you want to build'"
red "CallScreen: 1"
blue "GPhotos: 2"
yellow "InstallAPK: 3"
green "PixelLauncher: 4"
purple "Systemazer: 5"
echo "All: press enter"
echo ""
read -p "Enter your selection: " SELECTION
case $SELECTION in
"1")
red "Building Call Screen"
./gradlew :CallScreen:buildZip --no-configuration-cache
;;
"2")
blue "Building GPhotos"
./gradlew :GPhotos:buildZip --no-configuration-cache
;;
"3")
yellow "Building InstallAPK"
./gradlew :InstallAPK:buildZip --no-configuration-cache
;;
"4")
green "Building PixelLancher"
./gradlew :InstallPixelLauncher:buildZip --no-configuration-cache
;;
"5")
purple "Building Systemazer"
./gradlew :Systemazer:buildZip --no-configuration-cache
;;
*)
echo "Building everything"
./gradlew buildAll --no-configuration-cache
echo "Cleaning"
./gradlew clean --no-configuration-cache
;;
esac