File tree 4 files changed +25
-3
lines changed
4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 33
33
- name : Restore dependencies
34
34
run : dotnet restore
35
35
- name : Build
36
- run : dotnet fake build -t Build
36
+ run : make
37
37
- name : Run tests
38
- run : dotnet fake build -t Test
38
+ run : make check
39
39
- name : Run FSharpLint on itself
40
40
run : dotnet fake build -t SelfCheck
41
41
Original file line number Diff line number Diff line change
1
+ all :
2
+ which dotnet > /dev/null || { echo " ERROR: dotnet not found. Please ensure you have installed the .NET SDK (v6 or higher)" >&2 ; exit 1; }
3
+ dotnet fake build --target Build
4
+
5
+ check :
6
+ dotnet fake build --target Test
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Package | Version
34
34
35
35
1 . Make sure you've installed the .NET version defined in [ global.json] ( global.json )
36
36
2 . Run ` dotnet tool restore ` to install all developer tools required to build the project
37
- 3 . Run ` dotnet fake build -t Build ` to build (which executes the ` Build ` target from the FAKE-based [ build script] ( build.fsx ) )
37
+ 3 . Run ` make ` to build (which executes the ` Build ` target from the FAKE-based [ build script] ( build.fsx ) )
38
38
4 . To run tests use ` dotnet fake build -t Test `
39
39
5 . To build documentation use ` dotnet fake build -t Docs `
40
40
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ where /q dotnet
3
+ IF ERRORLEVEL 1 (
4
+ ECHO " Please install .NETv6 or higher" && EXIT /b 1
5
+ ) ELSE (
6
+ IF " %~1 " == " " (
7
+ dotnet fake build --target Build
8
+ ) ELSE (
9
+ IF " %~1 " == " check" (
10
+ dotnet fake build --target Test
11
+ ) ELSE (
12
+ ECHO " Target was not recognized" && EXIT /b 1
13
+ )
14
+ )
15
+ )
16
+
You can’t perform that action at this time.
0 commit comments