-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (23 loc) · 929 Bytes
/
Makefile
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
all: test
test: build
dotnet test ./Test.AMT.Extensions.Linq
dotnet test ./Test.AMT.Extensions.Logging
dotnet test ./Test.AMT.Extensions.System
build:
dotnet build
cover: build
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover\" ./Test.AMT.Extensions.Linq
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover\" ./Test.AMT.Extensions.Logging
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover\" ./Test.AMT.Extensions.System
cover-report:
dotnet reportgenerator "-reports:**/coverage.net8.0.opencover.xml" "-targetdir:Coverage"
clean:
dotnet clean
clean-all: clean
@echo "### Remove all NuPkg files"
find . -iname "*.nupkg" -exec rm {} \;
@echo "### Remove code coverage report"
rm -fr ./Coverage
@echo "### Remove bin and obj dirs"
find . -type d -name "bin" -prune -exec rm -r {} \;
find . -type d -name "obj" -prune -exec rm -r {} \;