|
15 | 15 | "label": "(vscode) sleep", |
16 | 16 | "group": "test", |
17 | 17 | "command": "sleep", |
18 | | - "args": [ |
19 | | - "10" |
20 | | - ] |
| 18 | + "args": ["10"] |
21 | 19 | }, |
22 | 20 | { |
23 | 21 | "type": "process", |
24 | 22 | "label": "(vscode) test file", |
25 | 23 | "group": "test", |
26 | 24 | "command": "./run_tests.sh", |
27 | | - "args": [ |
28 | | - "${file}" |
29 | | - ], |
| 25 | + "args": ["${file}"], |
30 | 26 | "presentation": { |
31 | 27 | "reveal": "always" |
32 | 28 | } |
|
36 | 32 | "label": "(vscode) prompt input", |
37 | 33 | "group": "test", |
38 | 34 | "command": "echo", |
39 | | - "args": [ |
40 | | - "${input:word}", |
41 | | - "${input:position}" |
42 | | - ] |
| 35 | + "args": ["${input:word}", "${input:position}"] |
43 | 36 | }, |
44 | 37 | { |
45 | 38 | "type": "process", |
46 | 39 | "label": "(vscode) background", |
47 | 40 | "command": "./tests/fake_background_task.sh", |
48 | 41 | "isBackground": true, |
49 | 42 | "presentation": { |
50 | | - "revealProblems": "onProblem", |
| 43 | + "revealProblems": "onProblem" |
51 | 44 | }, |
52 | 45 | "problemMatcher": { |
53 | 46 | "pattern": { |
|
64 | 57 | }, |
65 | 58 | { |
66 | 59 | "label": "(vscode) compound parallel", |
67 | | - "dependsOn": [ |
68 | | - "(vscode) test", |
69 | | - "(vscode) sleep" |
70 | | - ] |
71 | | - }, |
72 | | - { |
73 | | - "label": "(vscode) compound sequence", |
74 | | - "dependsOn": [ |
75 | | - "(vscode) sleep", |
76 | | - "(vscode) test", |
77 | | - "(vscode) prompt input" |
78 | | - ], |
79 | | - "dependsOrder": "sequence" |
| 60 | + "dependsOn": ["(vscode) test", "(vscode) sleep"] |
80 | 61 | }, |
81 | 62 | { |
82 | 63 | "type": "shell", |
83 | 64 | "label": "(vscode) create/move/delete", |
84 | 65 | "command": "rm", |
85 | | - "args": [ |
86 | | - "vscode_moved_test_file.txt" |
87 | | - ], |
| 66 | + "args": ["vscode_moved_test_file.txt"], |
88 | 67 | "dependsOn": "(vscode) move" |
89 | 68 | }, |
90 | 69 | { |
|
100 | 79 | }, |
101 | 80 | { |
102 | 81 | "label": "Build/Test/Serve pipeline", |
103 | | - "dependsOn": [ |
104 | | - "make build", |
105 | | - "run tests", |
106 | | - "run webserver" |
107 | | - ], |
| 82 | + "dependsOn": ["make build", "run tests", "run webserver"], |
108 | 83 | "dependsOrder": "sequence" |
109 | 84 | }, |
110 | 85 | { |
111 | 86 | "label": "make build", |
| 87 | + "hide": true, |
112 | 88 | "type": "shell", |
113 | 89 | "command": "echo make: Nothing to be done for 'all'. && sleep 4" |
114 | 90 | }, |
115 | 91 | { |
116 | 92 | "label": "run tests", |
| 93 | + "hide": true, |
117 | 94 | "type": "shell", |
118 | 95 | "command": "echo 'starting tests...' && sleep 4 && echo 'Tests passed'" |
119 | 96 | }, |
120 | 97 | { |
121 | 98 | "label": "run webserver", |
| 99 | + "hide": true, |
122 | 100 | "type": "shell", |
123 | 101 | "command": "echo 'Serving on 127.0.0.1:8080' && sleep 120" |
124 | 102 | } |
|
133 | 111 | "id": "position", |
134 | 112 | "description": "This is a position", |
135 | 113 | "type": "pickString", |
136 | | - "options": [ |
137 | | - "first", |
138 | | - "second", |
139 | | - "third" |
140 | | - ] |
| 114 | + "options": ["first", "second", "third"] |
141 | 115 | } |
142 | 116 | ] |
143 | 117 | } |
0 commit comments