Skip to content

Commit 51169da

Browse files
committed
🧑‍💻 Update VS Code build task definition #125
1 parent 1ede866 commit 51169da

1 file changed

Lines changed: 74 additions & 70 deletions

File tree

.vscode/tasks.json

Lines changed: 74 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,75 @@
11
{
2-
"version": "2.0.0",
3-
"tasks": [
4-
{
5-
"label": "build",
6-
"command": "dotnet",
7-
"type": "process",
8-
"args": [
9-
"build",
10-
"${workspaceFolder}/src/Xecrets.Cli.sln",
11-
"/property:GenerateFullPaths=true",
12-
"/consoleloggerparameters:NoSummary"
13-
],
14-
"problemMatcher": "$msCompile"
15-
},
16-
{
17-
"label": "publish-osx",
18-
"command": "dotnet",
19-
"type": "process",
20-
"args": [
21-
"publish",
22-
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
23-
"/property:Configuration=Release",
24-
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/osx-x64.pubxml",
25-
"/property:GenerateFullPaths=true",
26-
"/consoleloggerparameters:NoSummary"
27-
],
28-
"problemMatcher": "$msCompile"
29-
},
30-
{
31-
"label": "publish-linux",
32-
"command": "dotnet",
33-
"type": "process",
34-
"args": [
35-
"publish",
36-
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
37-
"/property:Configuration=Release",
38-
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/linux-x64.pubxml",
39-
"/property:GenerateFullPaths=true",
40-
"/consoleloggerparameters:NoSummary"
41-
],
42-
"problemMatcher": "$msCompile"
43-
},
44-
{
45-
"label": "publish-windows",
46-
"command": "dotnet",
47-
"type": "process",
48-
"args": [
49-
"publish",
50-
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
51-
"/property:Configuration=Release",
52-
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/win-x64.pubxml",
53-
"/property:GenerateFullPaths=true",
54-
"/consoleloggerparameters:NoSummary"
55-
],
56-
"problemMatcher": "$msCompile"
57-
},
58-
{
59-
"label": "watch",
60-
"command": "dotnet",
61-
"type": "process",
62-
"args": [
63-
"watch",
64-
"run",
65-
"--project",
66-
"${workspaceFolder}/src/Xecrets.Cli.sln",
67-
],
68-
"problemMatcher": "$msCompile"
69-
}
70-
]
71-
}
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build Xecrets.Cli",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/src/Xecrets.Cli.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile",
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"label": "publish-osx",
22+
"command": "dotnet",
23+
"type": "process",
24+
"args": [
25+
"publish",
26+
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
27+
"/property:Configuration=Release",
28+
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/osx-x64.pubxml",
29+
"/property:GenerateFullPaths=true",
30+
"/consoleloggerparameters:NoSummary"
31+
],
32+
"problemMatcher": "$msCompile"
33+
},
34+
{
35+
"label": "publish-linux",
36+
"command": "dotnet",
37+
"type": "process",
38+
"args": [
39+
"publish",
40+
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
41+
"/property:Configuration=Release",
42+
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/linux-x64.pubxml",
43+
"/property:GenerateFullPaths=true",
44+
"/consoleloggerparameters:NoSummary"
45+
],
46+
"problemMatcher": "$msCompile"
47+
},
48+
{
49+
"label": "publish-windows",
50+
"command": "dotnet",
51+
"type": "process",
52+
"args": [
53+
"publish",
54+
"${workspaceFolder}/src/Xecrets.Cli/Xecrets.Cli.csproj",
55+
"/property:Configuration=Release",
56+
"/property:PublishProfile=${workspaceFolder}/src/Xecrets.Cli/Properties/PublishProfiles/win-x64.pubxml",
57+
"/property:GenerateFullPaths=true",
58+
"/consoleloggerparameters:NoSummary"
59+
],
60+
"problemMatcher": "$msCompile"
61+
},
62+
{
63+
"label": "watch",
64+
"command": "dotnet",
65+
"type": "process",
66+
"args": [
67+
"watch",
68+
"run",
69+
"--project",
70+
"${workspaceFolder}/src/Xecrets.Cli.sln"
71+
],
72+
"problemMatcher": "$msCompile"
73+
}
74+
]
75+
}

0 commit comments

Comments
 (0)