mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
@@ -1,17 +1,6 @@
|
||||
@echo off
|
||||
|
||||
SET MinimalFAKEVersion=639
|
||||
SET FAKEVersion=1
|
||||
cls
|
||||
|
||||
if exist tools\FAKE.Core\tools\PatchVersion.txt (
|
||||
FOR /F "tokens=*" %%i in (tools\FAKE.Core\tools\PatchVersion.txt) DO (SET FAKEVersion=%%i)
|
||||
)
|
||||
|
||||
if %MinimalFAKEVersion% lss %FAKEVersion% goto Build
|
||||
if %MinimalFAKEVersion%==%FAKEVersion% goto Build
|
||||
|
||||
"tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Prerelease"
|
||||
"tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.2.0"
|
||||
|
||||
:Build
|
||||
cls
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ 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" "-Prerelease"
|
||||
.\tools\nuget\nuget.exe "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-Version" "2.2.0"
|
||||
}
|
||||
|
||||
Write-Output "Building Octokit..."
|
||||
|
||||
Reference in New Issue
Block a user