-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.bat
55 lines (44 loc) · 1.02 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
@echo off
if "%1"=="-h" goto HELP
if "%1"=="/h" goto HELP
if "%1"=="--help" goto HELP
if "%1"=="-r" goto RELEASE
if "%1"=="/r" goto RELEASE
if "%1"=="--release" goto RELEASE
if "%1"=="-c" goto CLEAN
if "%1"=="/c" goto CLEAN
if "%1"=="--clean" goto CLEAN
if "%1"=="-p" goto PAKET
if "%1"=="/p" goto PAKET
if "%1"=="--paket" goto PAKET
@echo on
msbuild /property:Configuration=Debug /m:1
@echo off
goto END
:RELEASE
@echo on
msbuild /property:Configuration=Release /m:1
@echo off
goto END
:CLEAN
@echo on
msbuild /property:Configuration=Debug /t:Clean /m:1
msbuild /property:Configuration=Release /t:Clean /m:1
@echo off
goto END
:PAKET
@echo on
.paket\paket.exe install
@echo off
goto END
:HELP
echo Build Funcalc in debug mode.
echo Usage:
echo build [OPTION]
echo.
echo Options:
echo -r /r --release - Build in release mode.
echo -c /c --clean - Remove all binaries.
echo -p /p --paket - Install required packages locally.
echo -h /h --help - Show this message.
:END