Skip to content

Commit

Permalink
Automatically linting code
Browse files Browse the repository at this point in the history
  • Loading branch information
rsg-bot authored Dec 28, 2024
1 parent 9f140df commit d66648c
Showing 1 changed file with 36 additions and 30 deletions.
66 changes: 36 additions & 30 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"Artifacts": {
"type": "string",
"description": "The directory where artifacts are to be dropped"
},
"Configuration": {
"type": "string",
"description": "Configuration to build",
"enum": [
"Debug",
"Release"
]
},
"Coverage": {
"type": "string",
"description": "The directory where coverage artifacts are to be dropped"
},
"lint-files": {
"type": "array",
"description": "The files to lint, if not given lints all files",
"items": {
"type": "string"
}
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
},
"definitions": {
"Host": {
"type": "string",
Expand Down Expand Up @@ -148,5 +119,40 @@
}
}
},
"$ref": "#/definitions/NukeBuild"
"allOf": [
{
"properties": {
"Artifacts": {
"type": "string",
"description": "The directory where artifacts are to be dropped"
},
"Configuration": {
"type": "string",
"description": "Configuration to build",
"enum": [
"Debug",
"Release"
]
},
"Coverage": {
"type": "string",
"description": "The directory where coverage artifacts are to be dropped"
},
"lint-files": {
"type": "array",
"description": "The files to lint, if not given lints all files",
"items": {
"type": "string"
}
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
]
}

0 comments on commit d66648c

Please sign in to comment.