|
5 | 5 | //"scriptShell": "pwsh",
|
6 | 6 | "scripts": {
|
7 | 7 | // project scripts
|
8 |
| - "clean": "dotnet rimraf artifacts coverage", |
| 8 | + "clean": "dotnet r clean:*", |
| 9 | + "clean:artifacts": "dotnet rimraf artifacts", |
9 | 10 | "clean:bin": "dotnet rimraf **/bin **/obj",
|
10 |
| - "prebuild": "dotnet r clean", |
| 11 | + |
11 | 12 | "build": "dotnet build",
|
12 |
| - "test": "dotnet test --no-build --logger \"trx;LogFilePrefix=tests\" --results-directory \"./coverage\"", |
| 13 | + |
| 14 | + "test": "dotnet test", |
13 | 15 | "test:6": "dotnet r test -- --framework net6.0",
|
14 | 16 |
|
15 |
| - "testbase": "dotnet test --no-build --logger \"trx;LogFilePrefix=tests\" --results-directory \"./coverage\"", |
16 |
| - "test:unit": "dotnet r testbase -- --filter \"category=unit\"", |
17 |
| - "test:int": "dotnet r testbase -- --filter \"category=integration\"", |
| 17 | + "test:unit": "dotnet r test -- --filter \"category=unit\"", |
| 18 | + "test:int": "dotnet r test -- --filter \"category=integration\"", |
18 | 19 |
|
19 |
| - "pack": "dotnet pack --no-build --output \"./artifacts\"", |
| 20 | + "prepack": "dotnet r clean:artifacts", |
| 21 | + "pack": "dotnet pack --output \"./artifacts\"", |
20 | 22 |
|
21 | 23 | "build:release": "dotnet r build -- --configuration Release",
|
22 | 24 | "test:release": "dotnet r test -- --configuration Release",
|
23 | 25 | "pack:release": "dotnet r pack -- --configuration Release",
|
24 | 26 |
|
25 | 27 | // integration tests
|
26 |
| - "integration:ci": "dotnet r clean clean:bin && dotnet build && dotnet test --no-build", |
| 28 | + "integration:ci": "dotnet r clean build && dotnet test --no-build", |
27 | 29 |
|
28 | 30 | // test scripts
|
29 | 31 | "info": "dotnet r dotnet:version dotnet:info",
|
|
0 commit comments