Skip to content

Commit d57ab29

Browse files
rkeithhilldaviwil
authored andcommitted
This fix works on both Linux and Windows.
1 parent a6f4d05 commit d57ab29

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.vscode/tasks.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,54 @@
33

44
"windows": {
55
"command": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe",
6-
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass" ]
6+
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ]
77
},
88
"linux": {
99
"command": "/usr/bin/powershell",
10-
"args": [ "-NoProfile" ]
10+
"args": [ "-NoProfile", "-Command" ]
1111
},
1212
"osx": {
1313
"command": "/usr/local/bin/powershell",
14-
"args": [ "-NoProfile" ]
14+
"args": [ "-NoProfile", "-Command" ]
1515
},
1616

1717
"tasks": [
1818
{
1919
"taskName": "Install",
20-
"type": "shell",
21-
"command": "Invoke-Build Restore"
20+
"suppressTaskName": true,
21+
"args": [ "Invoke-Build", "Restore" ]
2222
},
2323
{
2424
"taskName": "CleanAll",
25-
"type": "shell",
26-
"command": "Invoke-Build CleanAll"
25+
"suppressTaskName": true,
26+
"args": [ "Invoke-Build", "CleanAll" ]
2727
},
2828
{
2929
"taskName": "Clean",
30-
"type": "shell",
31-
"command": "Invoke-Build Clean"
30+
"suppressTaskName": true,
31+
"args": [ "Invoke-Build", "Clean" ]
3232
},
3333
{
3434
"taskName": "BuildAll",
35-
"type": "shell",
36-
"command": "Invoke-Build BuildAll",
37-
"problemMatcher": []
38-
},
39-
{
40-
"taskName": "Build",
41-
"type": "shell",
42-
"command": "Invoke-Build Build",
35+
"suppressTaskName": true,
36+
"args": [ "Invoke-Build", "BuildAll" ],
4337
"group": {
4438
"kind": "build",
4539
"isDefault": true
4640
},
4741
"problemMatcher": []
4842
},
43+
{
44+
"taskName": "Build",
45+
"suppressTaskName": true,
46+
"args": [ "Invoke-Build", "Build" ],
47+
"group": "build",
48+
"problemMatcher": []
49+
},
4950
{
5051
"taskName": "Test",
51-
"type": "shell",
52-
"command": "Invoke-Build Test",
52+
"suppressTaskName": true,
53+
"args": [ "Invoke-Build", "Test" ],
5354
"group": {
5455
"kind": "test",
5556
"isDefault": true

0 commit comments

Comments
 (0)