forked from EvilBeaver/oscript-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.atom-build.json
35 lines (35 loc) · 1.19 KB
/
.atom-build.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"cmd": "oscript",
"name": "oscript-library Testing",
"args": [ "-encoding=utf-8", "tests/finder.os"],
"sh": false,
"errorMatch": [
"{Модуль (?<file>[^/]+) / Ошибка в строке: (?<line>[0-9]+) / (?<message>.*)"
],
"targets": {
"Run current file": {
"cmd": "oscript",
"args": [ "-encoding=utf-8", "{FILE_ACTIVE}"],
"sh": false,
"errorMatch": [
"{Модуль (?<file>[^/]+) / Ошибка в строке: (?<line>[0-9]+) / (?<message>.*)"
]
},
"Test current test-file": {
"cmd": "oscript",
"args": [ "-encoding=utf-8", "tests/testrunner.os", "-run", "{FILE_ACTIVE}"],
"sh": false,
"errorMatch": [
"{Модуль (?<file>[^/]+) / Ошибка в строке: (?<line>[0-9]+) / (?<message>.*)"
]
},
"Test select test-name": {
"cmd": "oscript",
"args": [ "-encoding=utf-8", "{PROJECT_PATH}/../oscript-library/tests/testrunner.os", "-run", "{FILE_ACTIVE}", "{SELECTION}"],
"sh": false,
"errorMatch": [
"{Модуль (?<file>[^/]+) / Ошибка в строке: (?<line>[0-9]+) / (?<message>.*)"
]
}
}
}