11{
2- "version" : " 0.1 .0" ,
2+ "version" : " 2.0 .0" ,
33 "command" : " oscript" ,
4- "isShellCommand" : true ,
5- "showOutput" : " silent" ,
64 "args" : [
75 " -encoding=utf-8"
86 ],
97 "tasks" : [
108 {
11- "taskName" : " Testing project" ,
9+ "label" : " Testing project" ,
10+ "type" : " shell" ,
11+ "command" : " oscript" ,
1212 "args" : [
13+ " -encoding=utf-8" ,
1314 " ${workspaceRoot}/tests/testrunner.os" ,
1415 " -runall" ,
1516 " ${workspaceRoot}/tests"
1617 ],
17- "echoCommand" : true ,
18- "showOutput" : " always" ,
19- "suppressTaskName" : true ,
20- // "isBuildCommand": false,
21- "isTestCommand" : false ,
2218 "problemMatcher" : {
2319 "fileLocation" : " absolute" ,
2420 "pattern" : {
3026 }
3127 },
3228 {
33- "taskName" : " Test current test-file" ,
29+ "label" : " Test current test-file" ,
30+ "type" : " shell" ,
31+ "command" : " oscript" ,
3432 "args" : [
33+ " -encoding=utf-8" ,
3534 " ${workspaceRoot}/tests/testrunner.os" ,
3635 " -run" ,
3736 " ${file}"
3837 ],
39- "echoCommand" : true ,
40- "showOutput" : " always" ,
41- "suppressTaskName" : true ,
42- // "isBuildCommand": false,
43- "isTestCommand" : false ,
4438 "problemMatcher" : {
4539 "fileLocation" : " absolute" ,
4640 "pattern" : {
5246 }
5347 },
5448 {
55- "taskName" : " OneScript: compile" ,
49+ "label" : " OneScript: compile" ,
50+ "type" : " shell" ,
51+ "command" : " oscript" ,
5652 "args" : [
53+ " -encoding=utf-8" ,
5754 " -compile" ,
5855 " ${file}"
5956 ],
60- "echoCommand" : true ,
61- "showOutput" : " always" ,
62- "suppressTaskName" : true ,
63- "isBuildCommand" : false
57+ "problemMatcher" : []
6458 },
6559 {
66- "taskName" : " OneScript: check" ,
60+ "label" : " OneScript: check" ,
61+ "type" : " shell" ,
62+ "command" : " oscript" ,
6763 "args" : [
64+ " -encoding=utf-8" ,
6865 " -check" ,
6966 " ${file}"
7067 ],
71- "echoCommand" : true ,
72- "showOutput" : " always" ,
73- "suppressTaskName" : true ,
74- "isBuildCommand" : false
68+ "problemMatcher" : []
7569 },
7670 {
77- "taskName" : " OneScript: make" ,
71+ "label" : " OneScript: make" ,
72+ "type" : " shell" ,
73+ "command" : " oscript" ,
7874 "args" : [
75+ " -encoding=utf-8" ,
7976 " -make" ,
8077 " ${file}" ,
8178 " ${fileBasename}.exe"
8279 ],
83- "echoCommand" : true ,
84- "showOutput" : " always" ,
85- "suppressTaskName" : true ,
86- "isBuildCommand" : false
80+ "problemMatcher" : []
8781 },
8882 {
89- "taskName" : " OneScript: run" ,
83+ "label" : " OneScript: run" ,
84+ "type" : " shell" ,
85+ "command" : " oscript" ,
9086 "args" : [
87+ " -encoding=utf-8" ,
9188 " ${file}"
9289 ],
93- "echoCommand" : true ,
94- "showOutput" : " always" ,
95- "suppressTaskName" : true ,
96- "isBuildCommand" : true ,
9790 "problemMatcher" : {
9891 "fileLocation" : " absolute" ,
9992 "pattern" : {
10295 "location" : 2 ,
10396 "message" : 3
10497 }
105- }
98+ },
99+ "group" : " build"
106100 }
107101 ]
108102}
0 commit comments