-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbuild.bat
More file actions
20 lines (16 loc) · 551 Bytes
/
build.bat
File metadata and controls
20 lines (16 loc) · 551 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
:: build [[configuration] | [# [option [keys]]]
:: https://github.com/3F/Conari
@echo off & if "%~1"=="#" (
if /I "%~2"=="CI" (
shift & shift & setlocal
cd .tools & call netfx4sdk -mode sys || call netfx4sdk -mode pkg
endlocal
) else if "%~2"=="" ( call .tools\hMSBuild ~x -GetNuTool & exit /B0 ) else goto err
)
set reltype=%~1
if not defined reltype set reltype=Release
call .tools\gnt & call packages\vsSolutionBuildEvent\cim.cmd ~x ~c %reltype% || goto err
exit /B 0
:err
echo Failed build>&2
exit /B 1