Skip to content

Commit

Permalink
-Build
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Apr 12, 2017
1 parent ed8a4fe commit f780352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f780352

Please sign in to comment.