mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
Download FAKE at the start of the cibuild.
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user