forked from dotnet/wcf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
504 lines (504 loc) · 16.2 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
{
"settings": {
"TargetGroup": {
"description": "Sets the target framework for the BuildConfiguration you want to build.",
"valueType": "property",
"values": ["netcoreapp", "netstandard", "netfx", "uap", "mono"],
"defaultValue": "netcoreapp"
},
"OSGroup": {
"description": "Sets the OS for the BuildConfigurtation you want to build.",
"valueType": "property",
"values": ["Windows_NT", "Unix", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
"ConfigurationGroup": {
"description": "Sets the optimization level for the BuildConfiguration you want to build.",
"valueType": "property",
"values": ["Debug", "Release"],
"defaultValue": "Debug"
},
"ArchGroup": {
"description": "Sets the architecture for the BuildConfiguration you want to build.",
"valueType": "property",
"values": ["x64", "x86", "arm", "arm64"],
"defaultValue": "x64"
},
"BuildAllConfigurations": {
"description": "Builds projects for all BuildConfigurations rather than determining best configuration for TargetGroup/OSGroup.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": false
},
"RuntimeOS": {
"description": "The RuntimeOS used for building and restoring native OS dependent assets (i.e. RID specific binaries)",
"valueType": "property",
"values": ["win7", "osx.10.10", "ubuntu.14.04", "ubuntu.16.04", "etc-other-rid-based-os-names"],
"defaultValue": ""
},
"PortableBuild": {
"description": "Indicates if this is a portable build.",
"valueType": "property",
"values": [ "True", "False"],
"defaultValue": "true"
},
"SkipTests": {
"description": "Enables/Disables running tests.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"TestWithLocalLibraries": {
"description": "Enables/Disables building and running tests against local libraries.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"BuildPackages": {
"description": "Enables/Disables building packages.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": false
},
"BuildPackageLibraryReferences": {
"description": "Enables/Disables building libraries referenced by packages.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"SkipManagedPackageBuild": {
"description": "Enables/Disables building packages for managed builds.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"BuildTests": {
"description": "Enables/Disables building tests.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"Coverage": {
"description": "Enables code coverage runs.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"Outerloop": {
"description": "Enables outerloops tests scenarios.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"OfficialBuildId": {
"description": "Specifies the SeedDate and the revision of the build to generate the version of the libraries.",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"CloudDropAccountName": {
"description": "Azure account name.",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"CloudDropAccessToken": {
"description": "Azure access token",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"ContainerName": {
"description": "Azure container name",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"BuildNumberMajor": {
"description": "Product build major number.",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"BuildNumberMinor": {
"description": "Product build minor number.",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"MsBuildLogging": {
"description": "MsBuild logging options.",
"valueType": "passThrough",
"values": [],
"defaultValue": "/flp:v=normal"
},
"MsBuildWarning": {
"description": "MsBuild warning logging.",
"valueType": "passThrough",
"values": [],
"defaultValue": "/flp2:warningsonly;logfile=msbuild.wrn"
},
"MsBuildError": {
"description": "MsBuild error logging.",
"valueType": "passThrough",
"values": [],
"defaultValue": "/flp3:errorsonly;logfile=msbuild.err"
},
"BuildArchitecture": {
"description": "Sets the value of the build architecture.",
"valueType": "passThrough",
"values": ["x86", "arm", "armel", "x64", "arm64"],
"defaultValue": "${CPUArch}"
},
"CmakeBuildType": {
"description": "Sets the value of the build configuration.",
"valueType": "passThrough",
"values": [],
"defaultValue": "Debug"
},
"HostOs": {
"description": "OS for result binaries.",
"valueType": "passThrough",
"values": ["Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
"ProcessorCount": {
"description": "Sets the value of the number of processors available.",
"valueType": "passThrough",
"values": ["Numeric values"],
"defaultValue": "--numproc ${ProcessorCount}"
},
"Project": {
"description": "Project where the commands are going to be applied.",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"ToolSetDir": {
"description": "Native toolset directory",
"valueType": "passThrough",
"values": [],
"defaultValue": "toolSetDir=c:\\tools\\clr"
},
"Sync": {
"description": "MsBuild target that restores the packages.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"GenerateVersionHeader": {
"description": "MsBuild target that generates the version header.",
"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": ""
},
"ProducesTarget": {
"description": "MsBuild target that displays all of the artifacts this repo produces.",
"valueType": "target",
"values": [],
"defaultValue": ""
}
},
"commands": {
"build-managed": {
"alias":{
"packages": {
"description": "Builds the NuGet packages.",
"settings": {
"Project": "src/packages.builds",
"BuildPackages": "true",
"MsBuildLogging":"/flp:v=normal;LogFile=build-packages.log"
}
},
"portable":{
"description": "Make the build-native script generate binaries that are portable for the platform.",
"settings": {
"PortableBuild":"true"
}
},
"stripSymbols": {
"description": "No-op. Added so that stripSymbols can be passed to build.sh without breaking build-managed.sh.",
"settings": { }
},
"tests": {
"description": "Builds src and then builds and runs the tests for the given configuration.",
"settings": {
"BuildTests": true
}
},
"testsOnly": {
"description": "Builds and runs the tests for the given configuration.",
"settings": {
"Project": "src/tests.builds",
"MsBuildLogging":"/flp:v=normal;LogFile=build-tests.log"
}
},
"debug": {
"description": "Sets optimization level to debug for managed build configuration. (/p:ConfigurationGroup=Debug)",
"settings": {
"ConfigurationGroup": "Debug"
}
},
"release": {
"description": "Sets optimization level to release for managed build configuration. (/p:ConfigurationGroup=Release)",
"settings": {
"ConfigurationGroup": "Release"
}
},
"allConfigurations": {
"description": "Builds all configurations instead of only those specified by framework/os.",
"settings": {
"BuildAllConfigurations":"true"
}
},
"framework": {
"description": "Sets target framework for managed build configuration and only builds the libraries applicable for that framework. (/p:TargetGroup=[value])",
"settings": {
"TargetGroup": "default"
}
},
"os": {
"description": "Sets OS for the managed build configuration and only builds the libraries applicable for that OS. (/p:OSGroup=[value])",
"settings": {
"OSGroup": "default"
}
},
"buildArch": {
"description": "Sets the architecture for the managed build confiuguration. (/p:ArchGroup=[value])",
"settings": {
"ArchGroup": "default"
}
},
"runtimeos": {
"description": "Sets runtime OS for the managed build configuration, which is used for building and restoring native OS dependent assets (i.e. RID specific binaries). (/p:RuntimeOS=[value]",
"settings": {
"RuntimeOS": "default"
}
},
"GenerateVersion": {
"description": "Generates the version header for native binaries.",
"settings": {
"GenerateNativeVersionInfo": true,
"GenerateVersionHeader": "default"
}
},
"DisableManagedPackage": {
"description": "Generates the version header for native binaries.",
"settings": {
"SkipManagedPackageBuild": true
}
},
"verbose": {
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings": {
"MsBuildLogging": "/flp:v=diag;LogFile=build-managed.log"
}
}
},
"defaultValues": {
"toolName": "msbuild",
"settings": {
"BuildPackages": "default",
"ConfigurationGroup": "default",
"MsBuildLogging":"default",
"MsBuildWarning":"default",
"MsBuildError":"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"
}
}
},
"produces": {
"alias": {},
"defaultValues": {
"toolName": "msbuild",
"settings": {
"Project": "src/packages.builds",
"ProducesTarget":"default"
}
}
},
"publish-packages": {
"alias": {
"AzureAccount": {
"description": "Account name to connect to Azure Blob storage. Required for the command to work.",
"settings": {
"CloudDropAccountName": "default"
}
},
"AzureToken": {
"description": "Account token to connect to Azure Blob storage. Required for the command to work.",
"settings": {
"CloudDropAccessToken": "default"
}
},
"Container": {
"description": "Container name of the Azure Blob where the packages are going to be stored. Required for the command to work.",
"settings": {
"ContainerName": "default"
}
},
"verbose": {
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings": {
"MsBuildLogging": "/flp:v=diag;LogFile=publish-packages.log"
}
}
},
"defaultValues": {
"toolName": "msbuild",
"settings": {
"Project": "src/publish.proj",
"MsBuildLogging":"/flp:v=normal;LogFile=publish-packages.log"
}
}
},
"sync": {
"alias": {
"p": {
"description": "Restores all NuGet packages for repository.",
"settings": {
"Sync": "default"
}
},
"ab": {
"description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
"settings": {
"Project": "src/syncAzure.proj"
}
},
"t": {
"description": "Deprecated, use sync /p instead.",
"settings": {
"Sync": "default"
}
},
"AzureAccount": {
"description": "Account name to connect to Azure Blob storage. Required for -ab to work.",
"settings": {
"CloudDropAccountName": "default"
}
},
"AzureToken": {
"description": "Account token to connect to Azure Blob storage. Required for -ab to work.",
"settings": {
"CloudDropAccessToken": "default"
}
},
"Container": {
"description": "Container name of the Azure Blob where the packages are going to be stored.",
"settings": {
"ContainerName": "default"
}
},
"BuildMajor": {
"description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
"settings": {
"BuildNumberMajor": "default"
}
},
"BuildMinor": {
"description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
"settings": {
"BuildNumberMinor": "default"
}
},
"portable":{
"description": "Download packages that are portable for the platform.",
"settings": {
"PortableBuild":"true"
}
},
"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": {
"defaultAlias": "p",
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=sync.log"
}
}
}
},
"tools": {
"msbuild": {
"osSpecific": {
"windows": {
"defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false /l:BinClashLogger,Tools\\net46\\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}",
}
},
"terminal": {
"osSpecific": {
"windows": {
"filesExtension": "cmd"
},
"unix": {
"filesExtension": "sh"
}
},
"valueTypes": {
"property": "--{name}={value}",
}
}
}
}