diff options
author | Dan Siegel <me@dansiegel.net> | 2017-05-20 19:17:26 +0300 |
---|---|---|
committer | Dan Siegel <me@dansiegel.net> | 2017-05-21 07:38:18 +0300 |
commit | b5300a5d72dd235a2e2b4940c3bc9c5ad593fcac (patch) | |
tree | 4d45cfb444cf5b189ebd363bfb699dd2231d7266 | |
parent | efef8affa6439ae9ec0c0c7eaf4084560f2e659f (diff) |
adding logging output to build
-rw-r--r-- | Source/nuspecs/nuget.ps1 | 2 | ||||
-rw-r--r-- | appveyor.yml | 4 | ||||
-rw-r--r-- | 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*') { |