1- {
2- "tasks" : [
3- {
4- "args" : [
5- " watch" ,
6- " run" ,
7- " ${workspaceFolder}/test/Autofac.Pooling.Tests/Autofac.Pooling.Tests.csproj" ,
8- " /property:GenerateFullPaths=true" ,
9- " /consoleloggerparameters:NoSummary"
10- ],
11- "command" : " dotnet" ,
12- "label" : " watch" ,
13- "problemMatcher" : " $msCompile" ,
14- "type" : " process"
15- },
16- {
17- "args" : [
18- " build" ,
19- " /property:GenerateFullPaths=true" ,
20- " /consoleloggerparameters:NoSummary"
21- ],
22- "command" : " dotnet" ,
23- "group" : {
24- "isDefault" : true ,
25- "kind" : " build"
26- },
27- "label" : " build" ,
28- "presentation" : {
29- "reveal" : " silent"
30- },
31- "problemMatcher" : " $msCompile" ,
32- "type" : " shell"
33- }
34- ],
35- "version" : " 2.0.0"
36- }
1+ {
2+ "linux" : {
3+ "options" : {
4+ "shell" : {
5+ "args" : [
6+ " -NoProfile" ,
7+ " -Command"
8+ ],
9+ "executable" : " pwsh"
10+ }
11+ }
12+ },
13+ "osx" : {
14+ "options" : {
15+ "shell" : {
16+ "args" : [
17+ " -NoProfile" ,
18+ " -Command"
19+ ],
20+ "executable" : " /usr/local/bin/pwsh"
21+ }
22+ }
23+ },
24+ "tasks" : [
25+ {
26+ "command" : " If (Test-Path ${workspaceFolder}/artifacts/logs) { Remove-Item ${workspaceFolder}/artifacts/logs -Recurse -Force }; New-Item -Path ${workspaceFolder}/artifacts/logs -ItemType Directory -Force | Out-Null" ,
27+ "label" : " create log directory" ,
28+ "type" : " shell"
29+ },
30+ {
31+ "args" : [
32+ " build" ,
33+ " ${workspaceFolder}/Autofac.Pooling.sln" ,
34+ " --tl:off" ,
35+ " /property:GenerateFullPaths=true" ,
36+ " /consoleloggerparameters:NoSummary"
37+ ],
38+ "command" : " dotnet" ,
39+ "group" : {
40+ "isDefault" : true ,
41+ "kind" : " build"
42+ },
43+ "label" : " build" ,
44+ "problemMatcher" : " $msCompile" ,
45+ "type" : " shell"
46+ },
47+ {
48+ "args" : [
49+ " test" ,
50+ " ${workspaceFolder}/Autofac.Pooling.sln" ,
51+ " /property:GenerateFullPaths=true" ,
52+ " /consoleloggerparameters:NoSummary" ,
53+ " --results-directory" ,
54+ " artifacts/logs" ,
55+ " --logger:trx" ,
56+ " --collect:XPlat Code Coverage" ,
57+ " --settings:build/Coverage.runsettings" ,
58+ " --filter" ,
59+ " FullyQualifiedName!~Bench"
60+ ],
61+ "command" : " dotnet" ,
62+ "dependsOn" : [
63+ " create log directory"
64+ ],
65+ "group" : {
66+ "isDefault" : true ,
67+ "kind" : " test"
68+ },
69+ "label" : " test" ,
70+ "problemMatcher" : " $msCompile" ,
71+ "type" : " process"
72+ }
73+ ],
74+ "version" : " 2.0.0" ,
75+ "windows" : {
76+ "options" : {
77+ "shell" : {
78+ "args" : [
79+ " -NoProfile" ,
80+ " -ExecutionPolicy" ,
81+ " Bypass" ,
82+ " -Command"
83+ ],
84+ "executable" : " pwsh.exe"
85+ }
86+ }
87+ }
88+ }
0 commit comments