Skip to content

Commit

Permalink
chore: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 19, 2024
1 parent 63a8279 commit aed489c
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,64 @@
"type": "string"
}
},
"linux": {
"anyOf": [
{
"$ref": "#/definitions/HookOverride"
},
{
"type": "null"
}
]
},
"macos": {
"anyOf": [
{
"$ref": "#/definitions/HookOverride"
},
{
"type": "null"
}
]
},
"stage": {
"description": "The stage in the build process to execute this hook.",
"allOf": [
{
"$ref": "#/definitions/PipelineStage"
}
]
},
"windows": {
"anyOf": [
{
"$ref": "#/definitions/HookOverride"
},
{
"type": "null"
}
]
}
}
},
"HookOverride": {
"description": "OS-specific overrides.",
"type": "object",
"required": [
"command"
],
"properties": {
"command": {
"description": "The command to run for this hook.",
"type": "string"
},
"command_arguments": {
"description": "Any arguments to pass to the command.",
"default": [],
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand Down

0 comments on commit aed489c

Please sign in to comment.