Skip to content

Commit f7f3ce3

Browse files
committed
Build: migrate from script and fake runner towards simple fsproj
1 parent e7bcab1 commit f7f3ce3

8 files changed

Lines changed: 398 additions & 375 deletions

File tree

.config/dotnet-tools.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
"paket"
99
]
1010
},
11-
"fake-cli": {
12-
"version": "5.20.4",
13-
"commands": [
14-
"fake"
15-
]
16-
},
1711
"fsharp.formatting.commandtool": {
1812
"version": "11.4.1",
1913
"commands": [

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
language: [ 'csharp' ]
20-
dotnet: [ '5.0.100' ]
20+
dotnet: [ '6.0.100' ]
2121
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
2222

2323
steps:

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ image: Visual Studio 2017
22
init:
33
- git config --global core.autocrlf true
44
install:
5-
# Download .NET Core SDK 5.0.100 and add to PATH
6-
- ps: $urlCurrent = "https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-sdk-5.0.100-win-x64.zip"
5+
# Download .NET Core SDK 6.0.100 and add to PATH
6+
- ps: $urlCurrent = "https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100/dotnet-sdk-6.0.100-win-x64.zip"
77
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
88
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
99
- ps: $tempFileCurrent = [System.IO.Path]::GetTempFileName()

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ if errorlevel 1 (
88
exit /b %errorlevel%
99
)
1010

11-
dotnet fake run build.fsx -t %*
11+
dotnet run --project ./build/build.fsproj -- -t %*

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ cd "$(dirname "$0")"
77

88
dotnet tool restore
99
dotnet paket restore
10-
dotnet fake run build.fsx -t "$@"
10+
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj -- -t "$@"

0 commit comments

Comments
 (0)