forked from Kingsman44/Pixelify
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.bat
More file actions
46 lines (36 loc) · 1.15 KB
/
build.bat
File metadata and controls
46 lines (36 loc) · 1.15 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
42
43
44
45
46
@echo off
setlocal enabledelayedexpansion
if exist "colors.bat" (
call colors.bat
) else (
echo Colors file could not be loaded
exit /b 1
)
echo %YELLOW%Select your build version%RESET%
echo %RED%1 for BETA%RESET%
echo %GREEN%2 for STABLE%RESET%
set /p SELECTION="Enter your selection: "
if "%SELECTION%"=="1" (
echo %RED%building BETA version%RESET%
echo.
echo %RED%Building VK version%RESET%
call gradlew :beta:zipRelease --no-configuration-cache
echo %RED%Building no VK version%RESET%
call gradlew :beta:novkzipRelease --no-configuration-cache
echo %BLUE%Cleaning%RESET%
call gradlew :beta:cleanDir --no-configuration-cache
goto :EOF
)
if "%SELECTION%"=="2" (
echo %GREEN%building STABLE version%RESET%
echo.
echo %GREEN%Building VK version%RESET%
call gradlew :stable:zipRelease --no-configuration-cache
echo %GREEN%Building no VK version%RESET%
call gradlew :stable:novkzipRelease --no-configuration-cache
echo %BLUE%Cleaning%RESET%
call gradlew :stable:cleanDir --no-configuration-cache
goto :EOF
)
echo %BLUE%No option selected, aborting%RESET%
exit /b 1