-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (18 loc) · 907 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sonar-scan:
dotnet clean
dotnet sonarscanner begin /k:"food-totem-catalog" /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_ee45e83a1f3f074acf357a8e5854587471fa571d" /d:sonar.cs.opencover.reportsPaths="**\TestResults\*\*.xml"
dotnet build
dotnet test --no-build --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
dotnet sonarscanner end /d:sonar.token="sqp_ee45e83a1f3f074acf357a8e5854587471fa571d"
test:
dotnet clean
dotnet build
dotnet test --no-build --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
full-clean:
find . -type d -name "bin" -o -name "obj" -o -name "TestResults" | xargs rm -rf
dotnet clean
run-services:
cd src; docker-compose build --no-cache;
cd src; docker-compose up -d
stop-services:
cd src; docker-compose down