From a90cc0de1505815ec22b5e6e4fb1a39a1ce66e73 Mon Sep 17 00:00:00 2001 From: Brian Chavez Date: Wed, 25 Dec 2019 11:22:33 -0800 Subject: [PATCH] Use VS 2019 and .NET Core 3.1 as build engine. (#273) Unbelievable, it worked on the first commit. --- .config/dotnet-tools.json | 12 ++++++++++++ appveyor.yml | 2 +- build.cmd | 16 ++-------------- 3 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 .config/dotnet-tools.json diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json new file mode 100644 index 00000000..1688cba2 --- /dev/null +++ b/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "fake-cli": { + "version": "5.19.0", + "commands": [ + "fake" + ] + } + } +} \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 99a2b75e..1de9f31a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ version: '{build}' -image: Visual Studio 2017 +image: Visual Studio 2019 environment: FAKE_DETAILED_ERRORS: true diff --git a/build.cmd b/build.cmd index 3365b55b..a536fa54 100644 --- a/build.cmd +++ b/build.cmd @@ -3,18 +3,6 @@ cls SET BUILDER=Source\Builder -IF NOT EXIST "%BUILDER%\fake.exe" ( - dotnet tool install fake-cli ^ - --tool-path ./%BUILDER% ^ - --version 5.13.5 -) +dotnet tool restore -if errorlevel 1 ( - exit /b %errorlevel% -) - -"%BUILDER%/fake.exe" run %BUILDER%\build.fsx target %1 - -if errorlevel 1 ( - exit /b %errorlevel% -) +dotnet fake run %BUILDER%\build.fsx target %1 \ No newline at end of file