1
+ {
2
+ "tasks" : [{
3
+ "label" : " Zig: Build" ,
4
+ "args" : [ " build" , " --summary" , " all" ],
5
+ "detail" : " zig build --summary all" ,
6
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " build" , "isDefault" : true },
7
+ "presentation" : { "group" : " build" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
8
+ },
9
+ {
10
+ "label" : " Zig: Build Release Safe." ,
11
+ "args" : [ " build" , " -Doptimize=ReleaseSafe" , " --summary" , " all" ],
12
+ "detail" : " zig build -Doptimize=ReleaseSafe --summary all" ,
13
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " build" , "isDefault" : false },
14
+ "presentation" : { "group" : " build" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
15
+ },
16
+ {
17
+ "label" : " Zig: Build Release Fast." ,
18
+ "args" : [ " build" , " -Doptimize=ReleaseFast" , " --summary" , " all" ],
19
+ "detail" : " zig build -Doptimize=ReleaseFast --summary all" ,
20
+ "command" : " zig" ,"type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " build" , "isDefault" : false },
21
+ "presentation" : { "group" : " build" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
22
+ },
23
+ {
24
+ "label" : " Zig: Build Release Small." ,
25
+ "args" : [ " build" , " -Doptimize=ReleaseSmall" , " --summary" , " all" ],
26
+ "detail" : " zig build -Doptimize=ReleaseSmall --summary all" ,
27
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " build" , "isDefault" : false },
28
+ "presentation" : { "group" : " build" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
29
+ },
30
+ {
31
+ "label" : " Zig: Build Release Strip." ,
32
+ "args" : [ ],
33
+ "detail" : " zig build-exe -O ReleaseSmall -fstrip -fsingle-threaded (+ lots of options) main.zig" ,
34
+ "command" : " buildReleaseStrip.bat" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}\\ tools" }, "group" : { "kind" : " build" , "isDefault" : false },
35
+ "presentation" : { "group" : " build" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
36
+ },
37
+ {
38
+ "label" : " Zig: Test" ,
39
+ "args" : [ " test" , " ${file}" ],
40
+ "detail" : " 'zig test' in the current workspace." ,
41
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " test" , "isDefault" : true },
42
+ "presentation" : { "group" : " test" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
43
+ },
44
+ {
45
+ "label" : " Zig: Run main" ,
46
+ "args" : [ " run" , " -lc" , " -Ilib/sqlite" , " -Llib/sqlite" , " -lsqlite3" , " main.zig" ],
47
+ "detail" : " zig run main.zig" ,
48
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : true },
49
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
50
+ },
51
+ {
52
+ "label" : " Zig: Run main (With Args)" ,
53
+ "args" : [ " run" , " -lc" , " main.zig" , " --" , " ArgsForYourProgram" ],
54
+ "detail" : " zig run main.zig -- ArgsForYourProgram" ,
55
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
56
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
57
+ },
58
+ {
59
+ "label" : " Zig: Run main (Fast)" ,
60
+ "args" : [ " run" , " -lc" , " main.zig" , " -O" , " ReleaseFast" ],
61
+ "detail" : " zig run main.zig -O ReleaseFast" ,
62
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
63
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
64
+ },
65
+ {
66
+ "label" : " Zig: Run main (Safe)" ,
67
+ "args" : [ " run" , " -lc" , " main.zig" , " -O" , " ReleaseSafe" ],
68
+ "detail" : " zig run main.zig -O ReleaseSafe" ,
69
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
70
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
71
+ },
72
+ {
73
+ "label" : " Zig: Run main (Small)" ,
74
+ "args" : [ " run" , " -lc" , " main.zig" , " -O" , " ReleaseSmall" ],
75
+ "detail" : " zig run main.zig -O ReleaseSmall" ,
76
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
77
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
78
+ },
79
+ {
80
+ "label" : " Zig: Run current file" ,
81
+ "args" : [ " run" , " ${file}" ],
82
+ "detail" : " 'zig run' active file in the current workspace." ,
83
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
84
+ "presentation" : { "group" : " launch" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
85
+ },
86
+ {
87
+ "label" : " zTime Zig: Run current file" ,
88
+ "args" : [ " zig" , " run" , " ${file}" ],
89
+ "detail" : " 'zTime zig run' active file in the current workspace." ,
90
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
91
+ "presentation" : { "group" : " zTime" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
92
+ },
93
+ {
94
+ "label" : " Zig: Docs" ,
95
+ "args" : [ " run" , " -femit-docs" , " main.zig" ],
96
+ "detail" : " Generate docs from source comments." ,
97
+ "command" : " zig" , "type" : " shell" , "options" : { "cwd" : " ${workspaceRoot}" }, "group" : { "kind" : " none" , "isDefault" : false },
98
+ "presentation" : { "group" : " docs" , "echo" : true , "reveal" : " always" , "focus" : false , "panel" : " shared" , "showReuseMessage" : false , "clear" : true , "close" : false }, "problemMatcher" : []
99
+ }],
100
+ "version" : " 2.0.0"
101
+ }
0 commit comments