Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 435 Bytes
@echo off
SET baseDir=%~dp0%
IF "%1"=="" (
SET Target=Go
) ELSE (
SET Target="%1"
)
SET MSBUILD="%windir%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe"
IF NOT EXIST "%MSBUILD%" SET MSBUILD="%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
%MSBUILD% %baseDir%\build.proj /v:normal /nologo /clp:Summary;ShowTimestamp /t:%Target%
if %ERRORLEVEL% NEQ 0 goto errors
goto :eof
:errors
EXIT /B %ERRORLEVEL%