Skip to content

Commit 693d1c8

Browse files
author
Andrey Ovsiankin
committed
Автоматически обновлен формат файла tasks
1 parent 4f280f4 commit 693d1c8

File tree

1 file changed

+30
-36
lines changed

1 file changed

+30
-36
lines changed

.vscode/tasks.json

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
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": {
@@ -30,17 +26,15 @@
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": {
@@ -52,48 +46,47 @@
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": {
@@ -102,7 +95,8 @@
10295
"location": 2,
10396
"message": 3
10497
}
105-
}
98+
},
99+
"group": "build"
106100
}
107101
]
108102
}

0 commit comments

Comments
 (0)