Fix build batch (is it real? take3)

This commit is contained in:
Stephan
2016-07-20 15:37:14 +02:00
parent 247d9f8029
commit 16fb2cee26
2 changed files with 11 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ build_script:
%MSBUILD% "../src/Umbraco.Tests/Umbraco.Tests.csproj" /consoleloggerparameters:Summary;ErrorsOnly;WarningsOnly /p:NugetPackagesDirectory=%nuGetFolder%
build.bat /integration /release:%release% /comment:build%APPVEYOR_BUILD_NUMBER% /nugetfolder:%nuGetFolder%
build.bat -integration -release:%release% -comment:build%APPVEYOR_BUILD_NUMBER% -nugetfolder:%nuGetFolder%
ECHO %PATH%
test:

View File

@@ -1,4 +1,4 @@
@ECHO OFF
::@ECHO OFF
:: UMBRACO BUILD FILE
@@ -36,10 +36,15 @@ FOR /F "tokens=1,* delims=: " %%a IN ("%SWITCHPARSE%") DO SET SWITCH=%%a& SET VA
:: route arg
IF '%SWITCH%'=='/release' GOTO argRelease
IF '%SWITCH%'=='-release' GOTO argRelease
IF '%SWITCH%'=='/comment' GOTO argComment
IF '%SWITCH%'=='-comment' GOTO argComment
IF '%SWITCH%'=='/integration' GOTO argIntegration
IF '%SWITCH%'=='-integration' GOTO argIntegration
IF '%SWITCH%'=='/nugetfolder' GOTO argNugetFolder
IF '%SWITCH%'=='-nugetfolder' GOTO argNugetFolder
IF '%SWITCH%'=='/skipnuget' GOTO argSkipNuget
IF '%SWITCH%'=='-skipnuget' GOTO argSkipNuget
ECHO "Invalid switch %SWITCH%"
GOTO error
@@ -81,6 +86,10 @@ ECHO.
ECHO Building Umbraco %VERSION%
ECHO.
ECHO INTEGRATION=%INTEGRATION%
ECHO nuGetPackages=%nuGetFolder%
GOTO :eof
SET MSBUILD="C:\Program Files (x86)\MSBuild\14.0\Bin\MsBuild.exe"
SET PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%