-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (33 loc) · 947 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (33 loc) · 947 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
29
30
31
32
33
34
35
36
37
38
39
40
.PHONY: build
build:
dotnet build TeaSuite.KV.slnx
.PHONY: examples
examples:
dotnet build Examples.slnx
.PHONY: examples.run.shorturl
examples.run.shorturl:
dotnet run --project examples/ShortUrl
.PHONY: clean
clean:
dotnet clean TeaSuite.KV.slnx
dotnet clean Examples.slnx
.PHONY: restore
restore:
dotnet restore --force-evaluate TeaSuite.KV.slnx
dotnet restore --force-evaluate Examples.slnx
.PHONY: test
test:
dotnet test TeaSuite.KV.slnx
.PHONY: coverage
coverage:
rm -rf TestResults/Temp
dotnet test TeaSuite.KV.slnx --collect:'XPlat Code Coverage' \
--results-directory TestResults/Temp
reportgenerator \
-reports:"TestResults/Temp/*/coverage.cobertura.xml" \
-targetdir:"coverage" \
-historydir:"coverage/history" \
'-reporttypes:Html_Dark;MarkdownSummaryGithub'
.PHONY: pack
pack:
dotnet pack TeaSuite.KV.slnx --configuration Release --output packages/