-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
24 lines (17 loc) · 804 Bytes
/
Copy pathmakefile
File metadata and controls
24 lines (17 loc) · 804 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
.PHONY: install coverage docs
install:
@echo "\n --- Verifying dotnet installation --- \n"
dotnet --version
@echo "\n --- Installing project dependdencies --- \n"
dotnet restore
dotnet tool restore
coverage:
@echo "\n --- Building project --- \n"
dotnet build -c Release --verbosity minimal
@echo "\n --- Generating Tests --- \n"
dotnet tool run coverlet tests/bin/Release/net9.0/tests.dll --target dotnet --targetargs "test -c Release --no-build --verbosity minimal" --format opencover --exclude-by-attribute Visual
@echo "\n --- Generating Coverage report --- \n"
dotnet tool run reportgenerator "-reports:./coverage.opencover.xml" "-targetdir:coverage" "-reporttypes:lcov"
docs:
@echo "\n --- Building and hosting local website --- \n"
dotnet tool run docfx docs/docfx.json --serve