Skip to content

Commit 9c4796e

Browse files
committed
chore: update Extension/.vscode/tasks.json to restore correct build tasks
1 parent 3b47e67 commit 9c4796e

File tree

1 file changed

+38
-16
lines changed

1 file changed

+38
-16
lines changed

Extension/.vscode/tasks.json

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,47 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"label": "compile",
8-
"type": "npm",
9-
"script": "compile",
10-
"problemMatcher": "$tsc",
11-
"group": {
12-
"kind": "build",
13-
"isDefault": true
14-
}
15-
},
16-
{
17-
"label": "watch",
18-
"type": "npm",
19-
"script": "watch",
7+
"label": "build",
8+
"type": "shell",
209
"group": {
2110
"kind": "build",
2211
"isDefault": true
2312
},
24-
"isBackground": true,
25-
"problemMatcher": "$tsc-watch",
13+
"presentation": {
14+
"echo": true,
15+
"reveal": "always",
16+
"focus": false,
17+
"panel": "shared"
18+
},
19+
"windows": {
20+
"command": "${workspaceRoot}/build.cmd",
21+
"args": [
22+
"<Path/To/MinGW/Cygwin/Bin/Folder>", // Path to the bin folder containing g++ to compile
23+
"fib.exe" // Output executable name
24+
]
25+
},
26+
"linux": {
27+
"command": "g++",
28+
"args": [
29+
"-g",
30+
"*.cpp",
31+
"-lpthread",
32+
"--std=c++11",
33+
"-o",
34+
"fib.out"
35+
]
36+
},
37+
"osx": {
38+
"command": "g++",
39+
"args": [
40+
"-g",
41+
"*.cpp",
42+
"-lpthread",
43+
"--std=c++11",
44+
"-o",
45+
"fib.out"
46+
]
47+
}
2648
}
2749
]
28-
}
50+
}

0 commit comments

Comments
 (0)