From f780352c57643596c2aaa7cc568462df0ad53dc7 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 12 Apr 2017 20:59:28 +1200 Subject: [PATCH] -Build --- Build/build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/build.ps1 b/Build/build.ps1 index 2163e2be..dc674016 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -30,7 +30,7 @@ $nunitConsolePath = "$buildDir\Temp\NUnit.ConsoleRunner.$nunitConsoleVersion" $builds = @( - @{Framework = "netstandard1.3"; TestsFunction = "NetCliTests"; TestFramework = "netcoreapp1.1"; Enabled=$signAssemblies} + @{Framework = "netstandard1.3"; TestsFunction = "NetCliTests"; TestFramework = "netcoreapp1.1"; Enabled=$true} @{Framework = "net45"; TestsFunction = "NUnitTests"; NUnitFramework="net-4.0"; Enabled=$true}, @{Framework = "net40"; TestsFunction = "NUnitTests"; NUnitFramework="net-4.0"; Enabled=$true}, @{Framework = "net35"; TestsFunction = "NUnitTests"; NUnitFramework="net-2.0"; Enabled=$true}, @@ -60,7 +60,7 @@ task Clean { # Build each solution, optionally signed task Build -depends Clean { - $script:enabledBuilds = $builds | ? {$_.Enabled} + $script:enabledBuilds = $builds | ? {$_.Enabled} | ? {$signAssemblies -or $_.TestsFunction -ne "NetCliTests"} Write-Host -ForegroundColor Green "Found $($script:enabledBuilds.Length) enabled builds" mkdir "$buildDir\Temp" -Force