2012-03-11 21:17:56 +04:00
|
|
|
@echo off
|
|
|
|
pushd %~dp0
|
|
|
|
|
|
|
|
if exist bin goto build
|
|
|
|
mkdir bin
|
|
|
|
|
|
|
|
:Build
|
|
|
|
if "%1" == "" goto BuildDefaults
|
|
|
|
|
2012-11-07 04:37:22 +04:00
|
|
|
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild Runtime.msbuild /m /nr:false /t:%* /p:Platform="Any CPU" /p:Desktop=true /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal
|
2012-10-12 01:59:26 +04:00
|
|
|
if %ERRORLEVEL% neq 0 goto BuildFail
|
2012-03-11 21:17:56 +04:00
|
|
|
goto BuildSuccess
|
|
|
|
|
|
|
|
:BuildDefaults
|
2012-11-07 04:37:22 +04:00
|
|
|
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild Runtime.msbuild /m /nr:false /p:Platform="Any CPU" /p:Desktop=true /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal
|
2012-10-12 01:59:26 +04:00
|
|
|
if %ERRORLEVEL% neq 0 goto BuildFail
|
2012-03-11 21:17:56 +04:00
|
|
|
goto BuildSuccess
|
|
|
|
|
|
|
|
:BuildFail
|
|
|
|
echo.
|
|
|
|
echo *** BUILD FAILED ***
|
|
|
|
goto End
|
|
|
|
|
|
|
|
:BuildSuccess
|
|
|
|
echo.
|
|
|
|
echo **** BUILD SUCCESSFUL ***
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:End
|
|
|
|
popd
|