|
1 | 1 | { |
2 | | - "version": "2.0.0", |
3 | | - "tasks": [{ |
4 | | - "label": "build", |
5 | | - "command": "dotnet", |
6 | | - "type": "process", |
7 | | - "group": { |
8 | | - "kind": "build", |
9 | | - "isDefault": true |
10 | | - }, |
11 | | - "args": [ |
12 | | - "build", |
13 | | - "${workspaceFolder}/ToolBox/ToolBox.csproj" |
14 | | - ], |
15 | | - "problemMatcher": "$msCompile" |
16 | | - }, |
17 | | - { |
18 | | - "label": "build tests", |
19 | | - "command": "dotnet", |
20 | | - "type": "process", |
21 | | - "group": "build", |
22 | | - "args": [ |
23 | | - "build", |
24 | | - "${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj" |
25 | | - ], |
26 | | - "problemMatcher": "$msCompile" |
27 | | - }, |
28 | | - { |
29 | | - "label": "test", |
30 | | - "command": "dotnet", |
31 | | - "type": "process", |
32 | | - "group": { |
33 | | - "kind": "test", |
34 | | - "isDefault": true |
35 | | - }, |
36 | | - "args": [ |
37 | | - "test", |
38 | | - "${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj", |
39 | | - "/p:CollectCoverage=true", |
40 | | - "/p:CoverletOutputFormat=\"opencover,lcov\"", |
41 | | - "/p:CoverletOutput=../lcov" |
42 | | - ], |
43 | | - "problemMatcher": "$msCompile" |
44 | | - }, |
45 | | - { |
46 | | - "label": "publish win", |
47 | | - "command": "dotnet", |
48 | | - "group": "none", |
49 | | - "args": [ |
50 | | - "publish", |
51 | | - "${workspaceRoot}/ToolBox/ToolBox.csproj", |
52 | | - "-o", |
53 | | - "${workspaceRoot}/Library/win/", |
54 | | - "-c", |
55 | | - "release", |
56 | | - "-r", |
57 | | - "win10-x64" |
58 | | - ], |
59 | | - "problemMatcher": "$msCompile" |
60 | | - }, |
61 | | - { |
62 | | - "label": "publish mac", |
63 | | - "command": "dotnet", |
64 | | - "args": [ |
65 | | - "publish", |
66 | | - "${workspaceRoot}/ToolBox/ToolBox.csproj", |
67 | | - "-o", |
68 | | - "${workspaceRoot}/Library/mac/", |
69 | | - "-c", |
70 | | - "release", |
71 | | - "-r", |
72 | | - "osx.10.12-x64" |
73 | | - ], |
74 | | - "problemMatcher": "$msCompile" |
75 | | - }, |
76 | | - { |
77 | | - "label": "pack", |
78 | | - "command": "dotnet", |
79 | | - "args": [ |
80 | | - "pack", |
81 | | - "${workspaceRoot}/ToolBox/ToolBox.csproj", |
82 | | - "/p:NuspecFile=${workspaceRoot}/ToolBox/ToolBox.nuspec", |
83 | | - "-o", |
84 | | - "${workspaceRoot}/Package/", |
85 | | - "-c", |
86 | | - "release" |
87 | | - ], |
88 | | - "problemMatcher": "$msCompile" |
89 | | - }, |
90 | | - { |
91 | | - "label": "permissions", |
92 | | - "type": "shell", |
93 | | - "osx": { |
94 | | - "command": "chmod +x ${workspaceRoot}/sonar.sh" |
95 | | - }, |
96 | | - "presentation": { |
97 | | - "reveal": "always", |
98 | | - "panel": "new" |
99 | | - }, |
100 | | - "problemMatcher": [] |
101 | | - }, |
102 | | - { |
103 | | - "label": "sonar", |
104 | | - "type": "shell", |
105 | | - "windows": { |
106 | | - "command": "${workspaceRoot}\\sonar.bat" |
107 | | - }, |
108 | | - "osx": { |
109 | | - "command": "${workspaceRoot}/sonar.sh" |
110 | | - }, |
111 | | - "presentation": { |
112 | | - "reveal": "always", |
113 | | - "panel": "new" |
114 | | - }, |
115 | | - "problemMatcher": [] |
116 | | - } |
117 | | - ] |
| 2 | + "version": "2.0.0", |
| 3 | + "tasks": [ |
| 4 | + { |
| 5 | + "label": "build", |
| 6 | + "command": "dotnet", |
| 7 | + "type": "process", |
| 8 | + "group": { |
| 9 | + "kind": "build", |
| 10 | + "isDefault": true |
| 11 | + }, |
| 12 | + "args": ["build", "${workspaceFolder}/ToolBox/ToolBox.csproj"], |
| 13 | + "problemMatcher": "$msCompile" |
| 14 | + }, |
| 15 | + { |
| 16 | + "label": "build tests", |
| 17 | + "command": "dotnet", |
| 18 | + "type": "process", |
| 19 | + "group": "build", |
| 20 | + "args": [ |
| 21 | + "build", |
| 22 | + "${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj" |
| 23 | + ], |
| 24 | + "problemMatcher": "$msCompile" |
| 25 | + }, |
| 26 | + { |
| 27 | + "label": "test", |
| 28 | + "command": "dotnet", |
| 29 | + "type": "process", |
| 30 | + "group": { |
| 31 | + "kind": "test", |
| 32 | + "isDefault": true |
| 33 | + }, |
| 34 | + "args": [ |
| 35 | + "test", |
| 36 | + "${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj", |
| 37 | + "/p:CollectCoverage=true", |
| 38 | + "/p:CoverletOutputFormat=\"opencover,lcov\"", |
| 39 | + "/p:CoverletOutput=../lcov" |
| 40 | + ], |
| 41 | + "problemMatcher": "$msCompile" |
| 42 | + }, |
| 43 | + { |
| 44 | + "label": "publish win", |
| 45 | + "command": "dotnet", |
| 46 | + "group": "none", |
| 47 | + "args": [ |
| 48 | + "publish", |
| 49 | + "${workspaceRoot}/ToolBox/ToolBox.csproj", |
| 50 | + "-o", |
| 51 | + "${workspaceRoot}/Library/win/", |
| 52 | + "-c", |
| 53 | + "release", |
| 54 | + "-r", |
| 55 | + "win10-x64" |
| 56 | + ], |
| 57 | + "problemMatcher": "$msCompile" |
| 58 | + }, |
| 59 | + { |
| 60 | + "label": "publish mac", |
| 61 | + "command": "dotnet", |
| 62 | + "args": [ |
| 63 | + "publish", |
| 64 | + "${workspaceRoot}/ToolBox/ToolBox.csproj", |
| 65 | + "-o", |
| 66 | + "${workspaceRoot}/Library/mac/", |
| 67 | + "-c", |
| 68 | + "release", |
| 69 | + "-r", |
| 70 | + "osx.10.12-x64" |
| 71 | + ], |
| 72 | + "problemMatcher": "$msCompile" |
| 73 | + }, |
| 74 | + { |
| 75 | + "label": "pack", |
| 76 | + "command": "dotnet", |
| 77 | + "args": [ |
| 78 | + "pack", |
| 79 | + "${workspaceRoot}/ToolBox/ToolBox.csproj", |
| 80 | + "/p:NuspecFile=${workspaceRoot}/ToolBox/ToolBox.nuspec", |
| 81 | + "-o", |
| 82 | + "${workspaceRoot}/Package/", |
| 83 | + "-c", |
| 84 | + "release" |
| 85 | + ], |
| 86 | + "problemMatcher": "$msCompile" |
| 87 | + }, |
| 88 | + { |
| 89 | + "label": "permissions", |
| 90 | + "type": "shell", |
| 91 | + "osx": { |
| 92 | + "command": "chmod +x ${workspaceRoot}/sonar.sh" |
| 93 | + }, |
| 94 | + "presentation": { |
| 95 | + "reveal": "always", |
| 96 | + "panel": "new" |
| 97 | + }, |
| 98 | + "problemMatcher": [] |
| 99 | + }, |
| 100 | + { |
| 101 | + "label": "sonar", |
| 102 | + "type": "shell", |
| 103 | + "windows": { |
| 104 | + "command": "${workspaceRoot}\\sonar.bat" |
| 105 | + }, |
| 106 | + "osx": { |
| 107 | + "command": "${workspaceRoot}/sonar.sh" |
| 108 | + }, |
| 109 | + "presentation": { |
| 110 | + "reveal": "always", |
| 111 | + "panel": "new" |
| 112 | + }, |
| 113 | + "problemMatcher": [] |
| 114 | + } |
| 115 | + ] |
118 | 116 | } |
0 commit comments