Skip to content

Commit

Permalink
chore(build): Update build schema (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysparry authored Nov 29, 2024
1 parent 9d8fd57 commit 15830cc
Showing 1 changed file with 34 additions and 28 deletions.
62 changes: 34 additions & 28 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"GithubRef": {
"type": "string",
"description": "GitHub Ref"
},
"NuGetApiKey": {
"type": "string",
"description": "NuGet API key",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Version": {
"type": "string",
"description": "Version to use"
}
},
"definitions": {
"Host": {
"type": "string",
Expand Down Expand Up @@ -127,5 +100,38 @@
}
}
},
"$ref": "#/definitions/NukeBuild"
"allOf": [
{
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"GithubRef": {
"type": "string",
"description": "GitHub Ref"
},
"NuGetApiKey": {
"type": "string",
"description": "NuGet API key",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Version": {
"type": "string",
"description": "Version to use"
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
]
}

0 comments on commit 15830cc

Please sign in to comment.