File tree Expand file tree Collapse file tree 1 file changed +16
-38
lines changed Expand file tree Collapse file tree 1 file changed +16
-38
lines changed Original file line number Diff line number Diff line change 44 "version" : " 2.0.0" ,
55 "tasks" : [
66 {
7- "label" : " build" ,
8- "type" : " shell" ,
7+ "label" : " compile" ,
8+ "type" : " npm" ,
9+ "script" : " compile" ,
10+ "problemMatcher" : " $tsc" ,
911 "group" : {
1012 "kind" : " build" ,
1113 "isDefault" : true
12- },
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- ]
4714 }
15+ },
16+ {
17+ "label" : " watch" ,
18+ "type" : " npm" ,
19+ "script" : " watch" ,
20+ "group" : {
21+ "kind" : " build" ,
22+ "isDefault" : true
23+ },
24+ "isBackground" : true ,
25+ "problemMatcher" : " $tsc-watch" ,
4826 }
4927 ]
50- }
28+ }
You can’t perform that action at this time.
0 commit comments