forked from acken/AutoTest.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
34 lines (25 loc) · 779 Bytes
/
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
@echo off
::Project UppercuT - http://uppercut.googlecode.com
::No edits to this file are required - http://uppercut.pbwiki.com
if '%2' NEQ '' goto usage
if '%3' NEQ '' goto usage
if '%1' == '/?' goto usage
if '%1' == '-?' goto usage
if '%1' == '?' goto usage
if '%1' == '/help' goto usage
SET DIR=%~d0%~p0%
SET NANT="%DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%settings\UppercuT.config"
SET buildx86.config.settings="%DIR%settings\UppercuTx86.config"
%NANT% %1 /f:.\build\default.build -D:build.config.settings=%buildx86.config.settings%
%NANT% %1 /f:.\build\default.build -D:build.config.settings=%build.config.settings%
if %ERRORLEVEL% NEQ 0 goto errors
goto finish
:usage
echo.
echo Usage: build.bat
echo.
goto finish
:errors
EXIT /B %ERRORLEVEL%
:finish