-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 748 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: restore build test clean pack push verify
all: clean test
restore:
dotnet restore --locked-mode
build: restore
dotnet build -c Release --no-restore
test: build
dotnet test test/UnquoteTests/UnquoteTests.fsproj -c Release --no-build
clean:
dotnet clean -c Release
rm -f src/Unquote/bin/Release/*.nupkg
pack: clean build
dotnet pack src/Unquote/Unquote.fsproj -c Release --no-build
push: pack
dotnet nuget push src/Unquote/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${NUGET_API_KEY} --skip-duplicate
verify:
-dotnet test verify/xunit2/xunit2.fsproj
-dotnet test verify/nunit3/nunit3.fsproj
-dotnet run --project verify/expecto9/expecto9.fsproj
-dotnet run --project verify/noframework/noframework.fsproj