forked from dotnet/buildtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
200 lines (200 loc) · 5.67 KB
/
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"settings": {
"OSGroup": {
"description": "OS Group for result binaries.",
"valueType": "property",
"values": ["AnyOS", "Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "AnyOS"
},
"RestoreDuringBuild": {
"description": "Enables/Disables the restoration of packages.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"Platform": {
"description": "Sets the value of the platform.",
"valueType": "property",
"values": ["AnyCPU", "x86", "arm", "x64", "amd64"],
"defaultValue": "AnyCPU"
},
"ConfigurationGroup": {
"description": "Sets the configuration group as Release or Debug.",
"valueType": "property",
"values": ["Release", "Debug"],
"defaultValue": "Debug"
},
"MsBuildLogging": {
"description": "MsBuild logging options.",
"valueType": "passThrough",
"values": [],
"defaultValue": "/flp:v=normal"
},
"Project": {
"description": "Project where the commands are going to be applied.",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"ExtraParameters": {
"description": "Extra parameters will be passed to the selected command.",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"BatchRestorePackages": {
"description": "MsBuild target that restores the packages.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanAllProjects": {
"description": "MsBuild target that deletes the binary output directory.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanPackages": {
"description": "MsBuild target that deletes the repo-local nuget package directory.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanPackagesCache": {
"description": "MsBuild target that deletes the user-local nuget package cache.",
"valueType": "target",
"values": [],
"defaultValue": ""
}
},
"commands": {
"sync":{
"alias":{
"p":{
"description": "Restores all NuGet packages for repository.",
"settings":{
"RestoreDuringBuild": true,
"BatchRestorePackages": "default"
}
},
"verbose":{
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings":{
"MsBuildLogging": "/flp:v=diag;LogFile=sync.log"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=sync.log"
}
}
},
"build-managed":{
"alias":{
"binaries":{
"description": "Only builds binaries. It doesn't restore packages.",
"settings":{
"RestoreDuringBuild": false
}
},
"packages":{
"description": "Builds the NuGet packages.",
"settings":{
"Project": "src/packages.builds"
}
},
"debug":{
"description": "Sets ConfigurationGroup=Debug or the value passed by the user.",
"settings":{
"ConfigurationGroup": "Debug"
}
},
"release":{
"description": "Sets ConfigurationGroup=Release or the value passed by the user.",
"settings":{
"ConfigurationGroup": "Release"
}
},
"verbose":{
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings":{
"MsBuildLogging": "/flp:v=diag"
}
},
"os":{
"description": "Sets OSGroup=AnyOS or the value passed by the user.",
"settings":{
"OSGroup": "default"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"ConfigurationGroup": "default",
"MsBuildLogging":"default"
}
}
},
"clean":{
"alias":{
"b":{
"description": "Deletes the binary output directory.",
"settings":{
"CleanAllProjects": "default"
}
},
"p":{
"description": "Deletes the repo-local nuget package directory.",
"settings":{
"CleanPackages": "default"
}
},
"c":{
"description": "Deletes the user-local nuget package cache.",
"settings":{
"CleanPackagesCache": "default"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=clean.log"
}
}
}
},
"tools": {
"msbuild": {
"osSpecific":{
"windows": {
"defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false /l:BinClashLogger,Tools\\net45\\Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log",
"path": "Tools/msbuild.cmd"
},
"unix":{
"defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log",
"path": "Tools/msbuild.sh"
}
},
"valueTypes": {
"property": "/p:{name}={value}",
"target": "/t:{name}",
"internal": "/{name}"
}
},
"script": {
"osSpecific":{
"windows": {
"filesExtension": "cmd"
},
"unix":{
"filesExtension": "sh"
}
},
"valueTypes": {}
}
}
}