Skip to content

Commit aed489c

Browse files
committed
chore: update schema
1 parent 63a8279 commit aed489c

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

schemas/config.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,64 @@
270270
"type": "string"
271271
}
272272
},
273+
"linux": {
274+
"anyOf": [
275+
{
276+
"$ref": "#/definitions/HookOverride"
277+
},
278+
{
279+
"type": "null"
280+
}
281+
]
282+
},
283+
"macos": {
284+
"anyOf": [
285+
{
286+
"$ref": "#/definitions/HookOverride"
287+
},
288+
{
289+
"type": "null"
290+
}
291+
]
292+
},
273293
"stage": {
274294
"description": "The stage in the build process to execute this hook.",
275295
"allOf": [
276296
{
277297
"$ref": "#/definitions/PipelineStage"
278298
}
279299
]
300+
},
301+
"windows": {
302+
"anyOf": [
303+
{
304+
"$ref": "#/definitions/HookOverride"
305+
},
306+
{
307+
"type": "null"
308+
}
309+
]
310+
}
311+
}
312+
},
313+
"HookOverride": {
314+
"description": "OS-specific overrides.",
315+
"type": "object",
316+
"required": [
317+
"command"
318+
],
319+
"properties": {
320+
"command": {
321+
"description": "The command to run for this hook.",
322+
"type": "string"
323+
},
324+
"command_arguments": {
325+
"description": "Any arguments to pass to the command.",
326+
"default": [],
327+
"type": "array",
328+
"items": {
329+
"type": "string"
330+
}
280331
}
281332
}
282333
},

0 commit comments

Comments
 (0)