forked from scriptcs/scriptcs
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
Latest commit
25 lines (19 loc) · 451 Bytes
/
Copy pathbuild.cmd
File metadata and controls
25 lines (19 loc) · 451 Bytes
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
@echoOff
setlocal
ifexist artifacts goto Build
mkdir artifacts
:Build
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.proj /nologo /m /v:M %* /fl /flp:LogFile=artifacts\msbuild.log;Verbosity=Diagnostic;DetailedSummary /nr:false
if%ERRORLEVEL%neq0goto BuildFail
goto BuildSuccess
:BuildFail
echo.
echo *** BUILD FAILED ***
goto End
:BuildSuccess
echo.
echo **** BUILD SUCCESSFUL ***
goto end
:End
echo.
exit /b %ERRORLEVEL%