forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.debug.bat
35 lines (24 loc) · 872 Bytes
/
build.debug.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
@echo off
::Project UppercuT - http://uppercut.googlecode.com
::No edits to this file are required - http://uppercut.pbwiki.com
if '%1' == '/?' goto usage
if '%1' == '-?' goto usage
if '%1' == '?' goto usage
if '%1' == '/help' goto usage
SET DIR=%cd%
SET BUILD_DIR=%~d0%~p0%
SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%\.uppercut"
%NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%.build\default.build" -D:build.config.settings=%build.config.settings% -D:msbuild.configuration="Debug" -D:run.nuget="false" -D:test.framework="None" -D:cover.framework="None" -D:run.codesign="false" %*
::#-D:run.ilmerge="false"
if %ERRORLEVEL% NEQ 0 goto errors
call %DIR%\documentscenarios.bat
goto finish
:usage
echo.
echo Usage: build.bat
echo.
goto finish
:errors
EXIT /B %ERRORLEVEL%
:finish