diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..d6b77b9 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,45 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + // "_runner": "terminal", + "windows": { + "command": "cmd", + "args": ["/c", "chcp 65001 && "] + }, + "linux": { + "command": "sh", + "args": ["-c"] + }, + "type": "shell", + "suppressTaskName": true, + "tasks": [ + { + "label": "Full testing", + "args": [ + "oscript", + "${workspaceRoot}/tasks/test.os" + ], + "group": { + "kind": "build", + "isDefault": true + }, + // "presentation": { + // "echo": true, + // "reveal": "always", + // "focus": false, + // "panel": "shared", + // "showReuseMessage": true + // }, + "problemMatcher": { + "fileLocation": "absolute", + "pattern": { + "regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", + "file": 1, + "location": 2, + "message": 3 + } + } + } + ] +}