-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev1.config.json
83 lines (76 loc) · 2.93 KB
/
dev1.config.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"config": {
"suiteName": "dev1",
"variables": [
{"name": "suiteName", "value": "dev1"},
{"name": "suitesPath", "value": "/work/suites"},
{"name": "suitePath", "value": "${suitesPath}/${suiteName}"},
{"name": "projectPath", "value": "%{suitePath}/project"},
{"name": "repositoriesPath", "value": "${suitePath}/repositories/"},
{"name": "worktreesPath", "value": "/${suitePath}/worktrees}"},
{"name": "buildsPath", "value": "${suitePath}/builds"},
{"name": "r", "template": "${suitePath}/repositories/"},
{"name": "w", "template": "/${suitePath}/workspaces}"},
{"name": "b", "template": "${suitePath}/builds"},
{"name": "p", "template": "${suitePath}/project"},
{"name": "repositoryPath", "template": "${repositoriesPath}/${repositoryName}"},
{"name": "worktreePath", "template": "${worktreesPath}/${repositoryName}.${workspaceName}"},
{"name": "workspacePath", "template": "${projectPath/${workspaceName}"},
{"name": "codeWorkspacePath", "template": "${projectPath}/${workspaceName}.code-workspace"},
{"name": "buildPath", "template": "${buildsPath}/${repositoryName}.${workspaceName}.${cmakeBuildType}"},
{"name": "configPath", "template": "${projectPath}/${suiteName}.config.json"}
],
"repositories": [
{
"url": "git@github.com:callahanp/dev1.git",
"localRepositoryName": "dev1"
}
],
"defaultRunCommand": "dev1rc",
"gitWorktrees": [
{ "repository": "dev1", "ref": "next" },
{ "repository": "dev1", "ref": "main" },
{ "repository": "dev1", "ref": "0001/worktrees/path" }
],
"tasks": [
{
"taskName": "next",
"variants": ["Debug"],
"runCommand": "dev1rc",
"variantWorktreeSymbolicLinks": [
{"to": "worktrees/next/dev1", "from": "dev1.next"}
],
"codeWorkspaces": [
{
"workspaceName": "dev1.next",
"codeWorkspaceWorktreeFolders": [ "dev1.next"]
}
]
},{
"taskName": "main",
"variants": ["Debug"],
"runCommand": "dev1rc",
"variantWorktreeSymbolicLinks": [
{"to": "worktrees/next/dev1", "from": "dev1.next"}
],
"codeWorkspaces": [
{
"workspaceName": "dev1.next",
"codeWorkspaceWorktreeFolders": [ "dev1.next"]
}]
},{
"taskName": "0001-worktree",
"variants": ["Debug"],
"runCommand": "dev1rc",
"variantWorktreeSymbolicLinks": [
{"to": "worktrees/0001/worktrees/path", "from": "dev1.0001.worktrees.path"}
],
"codeWorkspaces": [
{
"workspaceName": "dev1.0001.worktrees.path",
"codeWorkspaceWorktreeFolders": [ "dev1.0001.worktrees.path"]
}]
}
]
}
}