Skip to content

Commit 71920e2

Browse files
igostvnixel2007
authored andcommitted
Исправил пример конфигурации для команды all (#108)
* Исправлена структура файла: repositories должен быть в gitsync-options, комментарии в json не допускаются
1 parent d6ebd04 commit 71920e2

File tree

1 file changed

+26
-31
lines changed

1 file changed

+26
-31
lines changed

config-example.json

Lines changed: 26 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,37 @@
1-
{
2-
"gitsync-options":
3-
{
4-
"global":
5-
{
6-
"email-domain": "server.com",
7-
"v8-version": "8.3.10",
8-
"git-executable": "git"
9-
}
1+
{
2+
"gitsync-options": {
3+
"global": {
4+
"email-domain": "server.com",
5+
"v8-version": "8.3.10",
6+
"git-executable": "git"
107
},
11-
"repositories" : [
8+
"repositories": [
129
{
13-
"name" : "test",
14-
"git-local-path": "Путь",
15-
"git-remote": "адрес2",
16-
"v8-storage-dir": "каталог2",
17-
"process-fatform-modules": "on",
18-
"push-every-n-commits": 5,
19-
"auto-set-tags": "on",
20-
"stop-if-empty-comment": "on",
21-
"check-authors": "on"
22-
//"email-domain",
23-
//"v8-version",
24-
//"git-executable",
25-
},
10+
"name": "test",
11+
"git-local-path": "Путь",
12+
"git-remote": "адрес2",
13+
"v8-storage-dir": "каталог2",
14+
"process-fatform-modules": "on",
15+
"push-every-n-commits": 5,
16+
"auto-set-tags": "on",
17+
"stop-if-empty-comment": "on",
18+
"check-authors": "on"
19+
},
2620
{
27-
"name" : "test2",
21+
"name": "test2",
2822
"git-local-path": "Путь2",
2923
"git-remote": "адрес2",
3024
"v8-storage-dir": "каталог2",
31-
"process-fatform-modules": "on",
25+
"process-fatform-modules": "on",
3226
"push-every-n-commits": 5,
33-
"auto-set-tags": "on",
34-
"stop-if-empty-comment": "on",
35-
"check-authors": "on"
36-
//"email-domain",
37-
//"v8-version",
38-
//"git-executable",
27+
"auto-set-tags": "on",
28+
"stop-if-empty-comment": "on",
29+
"check-authors": "on",
30+
"email-domain": "server2.com",
31+
"v8-version": "8.3.7",
32+
"git-executable": "git"
3933

4034
}
4135
]
4236
}
37+
}

0 commit comments

Comments
 (0)