-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.bat
More file actions
41 lines (36 loc) · 1.26 KB
/
build.bat
File metadata and controls
41 lines (36 loc) · 1.26 KB
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
@echo off
setlocal enabledelayedexpansion
if not exist colors.bat (
echo error, could not load colors file
)
echo What submodule you want to build?
call colors.bat red "CallScreen: 1"
call colors.bat blue "GPhotos: 2"
call colors.bat yellow "InstallAPK: 3"
call colors.bat green "PixelLauncher: 4"
call colors.bat purple "Systemazer: 5"
echo All: press enter
echo.
set /p SELECTION="Enter your selection: "
if "%SELECTION%"=="1" (
call colors.bat red "Building Call Screen"
call gradlew :CallScreen:buildZip --no-configuration-cache
) else if "%SELECTION%"=="2" (
call colors.bat blue "Building GPhotos"
call gradlew :GPhotos:buildZip --no-configuration-cache
) else if "%SELECTION%"=="3" (
call colors.bat yellow "Building InstallAPK"
call gradlew :InstallAPK:buildZip --no-configuration-cache
) else if "%SELECTION%"=="4" (
call colors.bat green "Building PixelLauncher"
call gradlew :InstallPixelLauncher:buildZip --no-configuration-cache
) else if "%SELECTION%"=="5" (
call colors.bat purple "Building Systemazer"
call gradlew :Systemazer:buildZip --no-configuration-cache
) else (
echo Building everything
call gradlew buildAll --no-configuration-cache
echo Cleaning
call gradlew clean --no-configuration-cache
)
pause