Honor specified nuget file location (#109)

* Honor specified nuget file location

* Generate and verify nuget.config
This commit is contained in:
Zachary Eisinger
2020-09-02 11:11:56 -07:00
committed by GitHub
parent 985d576ba0
commit 3569a93d9f
6 changed files with 71 additions and 21 deletions

View File

@ -3,6 +3,11 @@ if (!$args[0])
throw "Must supply dotnet version argument"
}
if (-Not (Test-Path "../nuget.config"))
{
throw "nuget file not generated correctly"
}
$dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path }
Write-Host "Found '$dotnet'"