From 877aec6ecf3f2ae8597c8fab40b38291016e7d72 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Fri, 1 Nov 2013 18:34:33 +0100 Subject: [PATCH] Download FAKE at the start of the cibuild. --- script/cibuild.ps1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/script/cibuild.ps1 b/script/cibuild.ps1 index c5c69677..a8d97ff8 100644 --- a/script/cibuild.ps1 +++ b/script/cibuild.ps1 @@ -70,9 +70,18 @@ if ($Clean) { Run-Command -Quiet -Fatal { git clean -xdf } } +if (Test-Path tools\FAKE.Core\tools\Fake.exe) { + Write-Output "FAKE is already installed." +} +else { + Write-Output "Installing FAKE..." + Write-Output "" + .\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease" +} + Write-Output "Building Octokit..." Write-Output "" -$output = .\"tools\FAKE.Core\tools\Fake.exe" "build.fsx" +$output = .\tools\FAKE.Core\tools\Fake.exe "build.fsx" if ($LastExitCode -ne 0) { $exitCode = $LastExitCode