-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.bat
74 lines (69 loc) · 1.66 KB
/
build.bat
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@echo off
title AsepriteAtlas - Build Screen
set /p menu="Build game? [Y/N/C]"
if %menu%==Y goto BuildGame
if %menu%==y goto BuildGame
if %menu%==N goto CancelGame
if %menu%==n goto CancelGame
if %menu%==C goto Credits
if %menu%==c goto Credits
cls
:BuildGame
cls
title AsepriteAtlas - Building
set /p menu="Build debug? [Y/N/C]"
if %menu%==Y goto BuildDebug
if %menu%==y goto BuildDebug
if %menu%==N goto BuildRelease
if %menu%==n goto BuildRelease
if %menu%==C goto Credits
if %menu%==c goto Credits
cls
:BuildDebug
cls
title AsepriteAtlas - Building Debug
echo Compiling, please wait...
lime test windows -debug
echo.
echo Debug build complete.
set /p menu="Recompile? [Y/N/C]"
if %menu%==Y goto BuildDebug
if %menu%==y goto BuildDebug
if %menu%==N goto CancelGame
if %menu%==n goto CancelGame
if %menu%==C goto Credits
if %menu%==c goto Credits
cls
exit
:BuildRelease
cls
title AsepriteAtlas - Building
echo Compiling, please wait...
lime test windows -release
echo.
echo Relase build complete.
set /p menu="Recompile? [Y/N/C]"
if %menu%==Y goto BuildRelease
if %menu%==y goto BuildRelease
if %menu%==N goto CancelGame
if %menu%==n goto CancelGame
if %menu%==C goto Credits
if %menu%==c goto Credits
cls
exit
:CancelGame
cls
title AsepriteAtlas - Cancelling
echo Build aborted. Press any key to continue.
exit
:Credits
cls
title AsepriteAtlas - Credits
echo AsepriteAtlas
echo.
echo Dev links:
echo https://www.github.com/DillyzThe1
echo.
echo.
echo Press any key to continue.
exit