dotnet tool hack

This commit is contained in:
Christian Köllner 2020-01-03 01:51:26 +01:00
parent fbfa827279
commit cfce6e87f4

View File

@ -57,10 +57,9 @@ test_script:
# - cmd: choco install capnpc-csharp --source=".;https://chocolatey.org/api/v2" --force -y
- cmd: choco install capnproto --source="https://chocolatey.org/api/v2" --force -y
- cmd: cd %APPVEYOR_BUILD_FOLDER%\capnpc-csharp
- powershell: |
$jversion = nbgv get-version -f json | ConvertFrom-Json
$version = $($jversion.NuGetPackageVersion)
dotnet tool install --global --add-source ./nupkg capnpc-csharp --version $(version)
- cmd: echo dotnet tool install --global --add-source ./nupkg capnpc-csharp --version > install.bat
- cmd: nbgv get-version -v NuGetPackageVersion >> install.bat
- cmd: install.bat
- cmd: cd %APPVEYOR_BUILD_FOLDER%\install-test
- cmd: compile-test
- cmd: cd %APPVEYOR_BUILD_FOLDER%