Skip to content

Commit e95ad35

Browse files
committed
Добавлена команда универсального тестирования через opm test #79
1 parent 82302f8 commit e95ad35

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

.vscode/tasks.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"version": "0.1.0",
2+
"version": "2.0.0",
3+
"_runner": "terminal",
34
"windows": {
45
"command": "cmd",
5-
"args": ["/c", "chcp 65001 >nul &"]
6+
"args": ["/c", "chcp 65001 ;"]
67
},
78
"linux": {
89
"command": "sh",
@@ -11,6 +12,28 @@
1112
"isShellCommand": true,
1213
"showOutput": "silent",
1314
"tasks": [
15+
{
16+
"taskName": "Testing project (opm test)",
17+
"args": [
18+
// "oscript",
19+
// "src/opm.os",
20+
"opm",
21+
"test"
22+
],
23+
// "echoCommand": true,
24+
// "showOutput": "always",
25+
"suppressTaskName": true,
26+
// "isTestCommand": false,
27+
"problemMatcher": {
28+
"fileLocation": "absolute",
29+
"pattern": {
30+
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)",
31+
"file": 1,
32+
"location": 2,
33+
"message": 3
34+
}
35+
}
36+
},
1437
{
1538
"taskName": "Testing project",
1639
"args": [

0 commit comments

Comments
 (0)