From b5300a5d72dd235a2e2b4940c3bc9c5ad593fcac Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Sat, 20 May 2017 09:17:26 -0700 Subject: adding logging output to build --- Source/nuspecs/nuget.ps1 | 2 +- appveyor.yml | 4 ++-- tools/test.ps1 | 15 ++++++++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Source/nuspecs/nuget.ps1 b/Source/nuspecs/nuget.ps1 index 886385b..6351cae 100644 --- a/Source/nuspecs/nuget.ps1 +++ b/Source/nuspecs/nuget.ps1 @@ -10,7 +10,7 @@ $nugetFileName = 'nuget.exe' if($solutionPath -like '*PrismLibrary_XF*' -and $configuration -eq 'Release') { Write-Host "Packing PrismLibrary_XF" - dotnet pack $solutionPath -c $configuration + dotnet pack $solutionPath -c $configuration --no-build return } diff --git a/appveyor.yml b/appveyor.yml index 53cdd09..f8b738d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -84,12 +84,12 @@ before_build: - nuget restore %solution_name% build_script: - - msbuild %solution_name% + - msbuild %solution_name% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" after_build: #- dotnet pack %solution_name% # -ps: Write-Host "Completed build for $env:solution_name" - -ps: .\Source\nuspecs\nuget.ps1 -configuration $env:Configuration -solutionPath $env:solution_name +- ps: .\Source\nuspecs\nuget.ps1 -configuration $env:Configuration -solutionPath $env:solution_name test_script: # UWP tests are not currently not supported by appveyor: https://github.com/appveyor/ci/issues/393 diff --git a/tools/test.ps1 b/tools/test.ps1 index d91f1e0..fda6887 100644 --- a/tools/test.ps1 +++ b/tools/test.ps1 @@ -11,8 +11,21 @@ elseif($solutionPath -like '*PrismLibrary_Win10*') { Write-Host "Testing Windows 10" Write-Host "UWP tests are not currently not supported by appveyor: https://github.com/appveyor/ci/issues/393" + # Write-Host "listing current directory" + # ls + # Write-Host "listing source directory" + # ls ./Source + # Write-Host "listing Windows10 directory" + # ls ./Source/Windows10 + # Write-Host "listing Windows Tests directory" + # ls ./Source/Windows10/Prism.Windows.Tests + # Write-Host "listing bin directory" + # ls ./Source/Windows10/Prism.Windows.Tests/bin + # Write-Host "listing Release binary" + # ls ./Source/Windows10/Prism.Windows.Tests/bin/Release + # Get-ChildItem ./Source/Windows10/Prism.Windows.Tests/bin # xunit.console .\Source\Windows10\Prism.Windows.Tests\bin\Debug\Prism.Windows.Tests.dll /appveyor - vstest.console /logger:Appveyor .\Source\Windows10\Prism.Windows.Tests\bin\$configuration\Prism.Windows.Tests.dll + vstest.console /logger:Appveyor .\Source\Windows10\Prism.Windows.Tests\bin\$configuration\Prism.Windows.Tests.exe } elseif($solutionPath -like '*PrismLibrary_Wpf*') { -- cgit v1.2.3