From 9da0254e774644a7d238987e09a5e6c13ee8f1b4 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Wed, 27 Nov 2013 09:34:07 -0800 Subject: [PATCH] we don't need to log the error output, use CreatePackages meta-task --- script/cibuild.ps1 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/script/cibuild.ps1 b/script/cibuild.ps1 index 5f479f26..62568b95 100644 --- a/script/cibuild.ps1 +++ b/script/cibuild.ps1 @@ -87,37 +87,33 @@ if (Test-Path tools\FAKE.Core\tools\Fake.exe) { else { Write-Output "Installing FAKE..." Write-Output "" - .\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Version" "2.2.0" + .\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Version" "2.2.1" } Write-Output "Building Octokit..." Write-Output "" -$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=BuildApp" "buildMode=Release" 2>&1 +$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=BuildApp" "buildMode=Release" if ($LastExitCode -ne 0) { Dump-Error($output) } Write-Output "Running unit tests..." Write-Output "" -$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=UnitTests" "buildMode=Release" 2>&1 +$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=UnitTests" "buildMode=Release" if ($LastExitCode -ne 0) { Dump-Error($output) } Write-Output "Running integration tests..." Write-Output "" -$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=IntegrationTests" "buildMode=Release" 2>&1 +$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=IntegrationTests" "buildMode=Release" if ($LastExitCode -ne 0) { Dump-Error($output) } Write-Output "Creating NuGet packages..." Write-Output "" -$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=CreateOctokitPackage" "buildMode=Release" 2>&1 -if ($LastExitCode -ne 0) { - Dump-Error($output) -} -$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=CreateOctokitReactivePackage" "buildMode=Release" 2>&1 +$output = & .\tools\FAKE.Core\tools\Fake.exe "build.fsx" "target=CreatePackages" "buildMode=Release" if ($LastExitCode -ne 0) { Dump-Error($output) }