forked from fsprojects/FSharpLint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.cmd
More file actions
23 lines (23 loc) · 701 Bytes
/
make.cmd
File metadata and controls
23 lines (23 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@ECHO OFF
where /q dotnet
IF ERRORLEVEL 1 (
ECHO "ERROR: 'dotnet' not found. Please ensure you have installed .NET (the version specified in global.json)" && EXIT /b 1
) ELSE (
IF "%~1" == "" (
dotnet fsi build.fsx --target Build
) ELSE (
IF "%~1" == "check" (
dotnet fsi build.fsx --target Test
) ELSE (
IF "%~1" == "selfcheck" (
dotnet fsi build.fsx --target SelfCheck
) ELSE (
IF "%~1" == "docs" (
dotnet fsi build.fsx --target Docs
) ELSE (
ECHO "Target was not recognized" && EXIT /b 1
)
)
)
)
)