Files
Dmitry Azaraev f82adc2117 initial
2012-06-07 23:27:27 +03:00

19 lines
317 B
Batchfile

@echo off & setlocal enableextensions enabledelayedexpansion
call "%~dp0\build\setenv"
if "%errorlevel%" neq "0" goto errSetEnv
:: build
MSBuild %* "build.proj"
if "%errorlevel%" neq "0" goto errBuild
goto :eof
:: errors
:errBuild
echo.Error: build error.
exit /b 1
:errSetEnv
echo.Error: setenv error.
exit /b 1