From b7aadaa3d2724736c67e66b1df8a60f0e48c0b7a Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sun, 21 Jun 2015 14:40:23 +0200 Subject: [PATCH] Experiment with less verbose logging for the build (so AppVeyor is easier to use) --- build/Build.bat | 14 ++++++++------ build/Build.proj | 8 ++++---- build/BuildBelle.bat | 8 ++++---- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/build/Build.bat b/build/Build.bat index f29260b274..bd18f719ad 100644 --- a/build/Build.bat +++ b/build/Build.bat @@ -25,9 +25,9 @@ ECHO Installing the Microsoft.Bcl.Build package before anything else, otherwise SET nuGetFolder=%CD%\..\src\packages\ ..\src\.nuget\NuGet.exe sources Remove -Name MyGetUmbracoCore >NUL ..\src\.nuget\NuGet.exe sources Add -Name MyGetUmbracoCore -Source https://www.myget.org/F/umbracocore/api/v2/ >NUL -..\src\.nuget\NuGet.exe install ..\src\Umbraco.Web.UI\packages.config -OutputDirectory %nuGetFolder% -..\src\.nuget\NuGet.exe install ..\src\umbraco.businesslogic\packages.config -OutputDirectory %nuGetFolder% -..\src\.nuget\NuGet.exe install ..\src\Umbraco.Core\packages.config -OutputDirectory %nuGetFolder% +..\src\.nuget\NuGet.exe install ..\src\Umbraco.Web.UI\packages.config -OutputDirectory %nuGetFolder% -Verbosity quiet +..\src\.nuget\NuGet.exe install ..\src\umbraco.businesslogic\packages.config -OutputDirectory %nuGetFolder% -Verbosity quiet +..\src\.nuget\NuGet.exe install ..\src\Umbraco.Core\packages.config -OutputDirectory %nuGetFolder% -Verbosity quiet ECHO Removing the belle build folder and bower_components folder to make sure everything is clean as a whistle RD ..\src\Umbraco.Web.UI.Client\build /Q /S @@ -43,7 +43,7 @@ DEL /F /Q webpihash.txt ECHO Making sure Git is in the path so that the build can succeed CALL InstallGit.cmd ECHO Performing MSBuild and producing Umbraco binaries zip files -%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.proj" /p:BUILD_RELEASE=%release% /p:BUILD_COMMENT=%comment% +%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.proj" /p:BUILD_RELEASE=%release% /p:BUILD_COMMENT=%comment% /verbosity:minimal ECHO Setting node_modules folder to hidden to prevent VS13 from crashing on it while loading the websites project attrib +h ..\src\Umbraco.Web.UI.Client\node_modules @@ -53,11 +53,13 @@ REN .\_BuildOutput\WebApp\Views\Web.config Web.config.transform REN .\_BuildOutput\WebApp\Xslt\Web.config Web.config.transform ECHO Packing the NuGet release files -..\src\.nuget\NuGet.exe Pack NuSpecs\UmbracoCms.Core.nuspec -Version %version% -Symbols -..\src\.nuget\NuGet.exe Pack NuSpecs\UmbracoCms.nuspec -Version %version% +..\src\.nuget\NuGet.exe Pack NuSpecs\UmbracoCms.Core.nuspec -Version %version% -Symbols -Verbosity quiet +..\src\.nuget\NuGet.exe Pack NuSpecs\UmbracoCms.nuspec -Version %version% -Verbosity quiet IF ERRORLEVEL 1 GOTO :showerror +ECHO No errors were detected but you still may see some in the output, then it's time to investigate. +ECHO You might see some warnings but that is completely normal. GOTO :EOF :showerror diff --git a/build/Build.proj b/build/Build.proj index 09303788d9..bdaa5b9c0c 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -145,14 +145,14 @@ DestinationFiles="@(WebPiFiles->'$(WebPiFolder)%(RecursiveDir)%(Filename)%(Extension)')" /> - + - - + + @@ -259,7 +259,7 @@ - + diff --git a/build/BuildBelle.bat b/build/BuildBelle.bat index e323abbb0d..0d58204f65 100644 --- a/build/BuildBelle.bat +++ b/build/BuildBelle.bat @@ -6,7 +6,7 @@ SET nuGetFolder=%CD%\..\src\packages\ ECHO Configured packages folder: %nuGetFolder% ECHO Current folder: %CD% -%CD%\..\src\.nuget\NuGet.exe install Npm.js -OutputDirectory %nuGetFolder% +%CD%\..\src\.nuget\NuGet.exe install Npm.js -OutputDirectory %nuGetFolder% -Verbosity quiet for /f "delims=" %%A in ('dir %nuGetFolder%node.js.* /b') do set "nodePath=%nuGetFolder%%%A\" for /f "delims=" %%A in ('dir %nuGetFolder%npm.js.* /b') do set "npmPath=%nuGetFolder%%%A\tools\" @@ -24,9 +24,9 @@ ECHO Change directory to %CD%\..\src\Umbraco.Web.UI.Client\ CD %CD%\..\src\Umbraco.Web.UI.Client\ ECHO Do npm install and the grunt build of Belle -call npm install -call npm install -g grunt-cli -call npm install -g bower +call npm install --quiet +call npm install -g grunt-cli --quiet +call npm install -g bower --quiet call grunt build --buildversion=%release% ECHO Reset path to what it was before