Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
improved build script
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoJuchli committed Apr 14, 2016
1 parent 74a33be commit 5239be0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions StaticProxy.Interceptor.Build.bat
Expand Up @@ -14,6 +14,7 @@ SET MSBuildErrorFileLogParameters=/fl2 /flp2:NoSummary;ErrorsOnly;LogFile=%Build
SET MSBuildWarningFileLogParameters=/fl3 /flp3:NoSummary;WarningsOnly;LogFile=%BuildLogFile%.warnings.log

nuget restore %BuildFile%
IF ERRORLEVEL 1 GOTO Failed

"%MSBuildPath%\MSBUILD.EXE" %BuildFile% /t:%UserTarget% %MSBuildParameters% %MSBuildFileLogParameters% %MSBuildErrorFileLogParameters% %MSBuildWarningFileLogParameters%
IF ERRORLEVEL 1 GOTO Failed
Expand All @@ -22,6 +23,7 @@ gitlink.exe . -f %BuildFile% -ignore StaticProxy.Interceptor.Tests
IF ERRORLEVEL 1 GOTO Failed

nuget pack ".\StaticProxy.Interceptor\StaticProxy.Interceptor.csproj" -Version "0.3.1.0"
IF ERRORLEVEL 1 GOTO Failed

CALL %PrintSuccessful%
GOTO End
Expand Down

0 comments on commit 5239be0

Please sign in to comment.