Download FAKE at the start of the cibuild.

This commit is contained in:
Steffen Forkmann
2013-11-01 18:34:33 +01:00
parent f7c2ff0814
commit 877aec6ecf
+10 -1
View File
@@ -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