-
Notifications
You must be signed in to change notification settings - Fork 248
/
zip.bat
25 lines (16 loc) · 629 Bytes
/
zip.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
@echo off
::Project UppercuT - http://uppercut.googlecode.com
::No edits to this file are required - http://uppercut.pbwiki.com
SET DIR=%cd%
SET BUILD_DIR=%~d0%~p0%
::This is gone once teamcity can call multiple files
call "%BUILD_DIR%build.bat" %*
if %ERRORLEVEL% NEQ 0 goto errors
SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
SET build.config.settings="%DIR%\settings\UppercuT.config"
%NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:"%BUILD_DIR%build\zip.build" -D:build.config.settings=%build.config.settings% %*
if %ERRORLEVEL% NEQ 0 goto errors
goto finish
:errors
EXIT /B %ERRORLEVEL%
:finish