Skip to content

Commit 5e8306f

Browse files
committed
Добавил команды проекта
1 parent 52fa062 commit 5e8306f

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

.vscode/tasks.json

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${fileBasename}: the current opened file's basename
5+
// ${fileDirname}: the current opened file's dirname
6+
// ${fileExtname}: the current opened file's extension
7+
// ${cwd}: the current working directory of the spawned process
8+
19
{
2-
"version": "0.1.0",
10+
"version": "2.0.0",
11+
"_runner": "terminal",
312
"windows": {
413
"command": "cmd",
5-
"args": ["/c", "chcp 65001 >nul &"]
14+
"args": ["/c", "chcp 65001 ;"]
615
},
716
"linux": {
817
"command": "sh",
918
"args": ["-c"]
1019
},
1120
"isShellCommand": true,
12-
"showOutput": "silent",
21+
// "showOutput": "silent",
22+
"_runner": "terminal",
1323
"tasks": [
1424
{
1525
"taskName": "Testing project",
@@ -60,6 +70,7 @@
6070
"args": [
6171
"1bdd",
6272
"${workspaceRoot}/features",
73+
"-fail-fast",
6374
"-out",
6475
"${workspaceRoot}/exec.log"
6576
],
@@ -105,29 +116,29 @@
105116
}
106117
},
107118
{
108-
"taskName": "Exec feature + debug",
119+
"taskName": "Exec feature for current step def",
109120
"args": [
110121
"1bdd",
111-
"${file}",
122+
"${fileDirname}/../${fileBasenameNoExtension}.feature",
112123
"-fail-fast",
113-
"-verbose",
114-
"on",
115124
"-out",
116125
"${workspaceRoot}/exec.log"
117126
],
118127
"echoCommand": true,
119128
"showOutput": "always",
120129
"suppressTaskName": true,
121-
// "isBuildCommand": false,
122-
"isTestCommand": false,
130+
"isBuildCommand": false,
131+
"isTestCommand": true,
123132
"problemMatcher": {
124133
"fileLocation": "absolute",
125-
"pattern": {
134+
"pattern": [
135+
{
126136
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)",
127137
"file": 1,
128138
"location": 2,
129139
"message": 3
130140
}
141+
]
131142
}
132143
},
133144
{
@@ -154,6 +165,18 @@
154165
}
155166
}
156167
},
168+
{
169+
"taskName": "Opm: package build",
170+
"args": [
171+
"opm",
172+
"build",
173+
"${workspaceRoot}"
174+
],
175+
"echoCommand": true,
176+
"showOutput": "always",
177+
"suppressTaskName": true,
178+
"isBuildCommand": false
179+
},
157180
{
158181
"taskName": "OneScript: compile",
159182
"args": [

0 commit comments

Comments
 (0)