-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated pre-commit to support updating the nuke build schema
- Loading branch information
1 parent
8f9e5f8
commit fc8e013
Showing
2 changed files
with
157 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,151 +1,159 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Build Schema", | ||
"$ref": "#/definitions/build", | ||
"definitions": { | ||
"build": { | ||
"type": "object", | ||
"properties": { | ||
"Artifacts": { | ||
"type": "string", | ||
"description": "The directory where artifacts are to be dropped" | ||
}, | ||
"Configuration": { | ||
"type": "string", | ||
"description": "Configuration to build", | ||
"enum": ["Debug", "Release"] | ||
}, | ||
"Continue": { | ||
"type": "boolean", | ||
"description": "Indicates to continue a previously failed build attempt" | ||
}, | ||
"Coverage": { | ||
"type": "string", | ||
"description": "The directory where coverage artifacts are to be dropped" | ||
}, | ||
"Help": { | ||
"type": "boolean", | ||
"description": "Shows the help text for this build assembly" | ||
}, | ||
"Host": { | ||
"type": "string", | ||
"description": "Host for execution. Default is 'automatic'", | ||
"enum": [ | ||
"AppVeyor", | ||
"AzurePipelines", | ||
"Bamboo", | ||
"Bitrise", | ||
"GitHubActions", | ||
"GitLab", | ||
"Jenkins", | ||
"Rider", | ||
"SpaceAutomation", | ||
"TeamCity", | ||
"Terminal", | ||
"TravisCI", | ||
"VisualStudio", | ||
"VSCode" | ||
] | ||
}, | ||
"NoLogo": { | ||
"type": "boolean", | ||
"description": "Disables displaying the NUKE logo" | ||
}, | ||
"Partition": { | ||
"type": "string", | ||
"description": "Partition to use on CI" | ||
}, | ||
"Plan": { | ||
"type": "boolean", | ||
"description": "Shows the execution plan (HTML)" | ||
}, | ||
"Profile": { | ||
"type": "array", | ||
"description": "Defines the profiles to load", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"Root": { | ||
"type": "string", | ||
"description": "Root directory during build execution" | ||
}, | ||
"Skip": { | ||
"type": "array", | ||
"description": "List of targets to be skipped. Empty list skips all dependencies", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"Build", | ||
"BuildVersion", | ||
"Clean", | ||
"CoreBuild", | ||
"CorePack", | ||
"CoreRestore", | ||
"CoreTest", | ||
"Default", | ||
"DotnetToolRestore", | ||
"Generate_Code_Coverage_Badges", | ||
"Generate_Code_Coverage_Report", | ||
"Generate_Code_Coverage_Report_Cobertura", | ||
"Generate_Code_Coverage_Summary", | ||
"GenerateCodeCoverageBadges", | ||
"GenerateCodeCoverageReport", | ||
"GenerateCodeCoverageReportCobertura", | ||
"GenerateCodeCoverageSummary", | ||
"GenerateReadme", | ||
"Lint", | ||
"Pack", | ||
"Restore", | ||
"Test", | ||
"Trigger_Code_Coverage_Reports", | ||
"TriggerCodeCoverageReports" | ||
] | ||
} | ||
}, | ||
"Solution": { | ||
"type": "string", | ||
"description": "Path to a solution file that is automatically loaded" | ||
}, | ||
"Target": { | ||
"type": "array", | ||
"description": "List of targets to be invoked. Default is '{default_target}'", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"Build", | ||
"BuildVersion", | ||
"Clean", | ||
"CoreBuild", | ||
"CorePack", | ||
"CoreRestore", | ||
"CoreTest", | ||
"Default", | ||
"DotnetToolRestore", | ||
"Generate_Code_Coverage_Badges", | ||
"Generate_Code_Coverage_Report", | ||
"Generate_Code_Coverage_Report_Cobertura", | ||
"Generate_Code_Coverage_Summary", | ||
"GenerateCodeCoverageBadges", | ||
"GenerateCodeCoverageReport", | ||
"GenerateCodeCoverageReportCobertura", | ||
"GenerateCodeCoverageSummary", | ||
"GenerateReadme", | ||
"Lint", | ||
"Pack", | ||
"Restore", | ||
"Test", | ||
"Trigger_Code_Coverage_Reports", | ||
"TriggerCodeCoverageReports" | ||
] | ||
} | ||
}, | ||
"Verbosity": { | ||
"type": "string", | ||
"description": "Logging verbosity during build execution. Default is 'Normal'", | ||
"enum": ["Minimal", "Normal", "Quiet", "Verbose"] | ||
} | ||
} | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Build Schema", | ||
"$ref": "#/definitions/build", | ||
"definitions": { | ||
"build": { | ||
"type": "object", | ||
"properties": { | ||
"Artifacts": { | ||
"type": "string", | ||
"description": "The directory where artifacts are to be dropped" | ||
}, | ||
"Configuration": { | ||
"type": "string", | ||
"description": "Configuration to build", | ||
"enum": [ | ||
"Debug", | ||
"Release" | ||
] | ||
}, | ||
"Continue": { | ||
"type": "boolean", | ||
"description": "Indicates to continue a previously failed build attempt" | ||
}, | ||
"Coverage": { | ||
"type": "string", | ||
"description": "The directory where coverage artifacts are to be dropped" | ||
}, | ||
"Help": { | ||
"type": "boolean", | ||
"description": "Shows the help text for this build assembly" | ||
}, | ||
"Host": { | ||
"type": "string", | ||
"description": "Host for execution. Default is 'automatic'", | ||
"enum": [ | ||
"AppVeyor", | ||
"AzurePipelines", | ||
"Bamboo", | ||
"Bitrise", | ||
"GitHubActions", | ||
"GitLab", | ||
"Jenkins", | ||
"Rider", | ||
"SpaceAutomation", | ||
"TeamCity", | ||
"Terminal", | ||
"TravisCI", | ||
"VisualStudio", | ||
"VSCode" | ||
] | ||
}, | ||
"NoLogo": { | ||
"type": "boolean", | ||
"description": "Disables displaying the NUKE logo" | ||
}, | ||
"Partition": { | ||
"type": "string", | ||
"description": "Partition to use on CI" | ||
}, | ||
"Plan": { | ||
"type": "boolean", | ||
"description": "Shows the execution plan (HTML)" | ||
}, | ||
"Profile": { | ||
"type": "array", | ||
"description": "Defines the profiles to load", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"Root": { | ||
"type": "string", | ||
"description": "Root directory during build execution" | ||
}, | ||
"Skip": { | ||
"type": "array", | ||
"description": "List of targets to be skipped. Empty list skips all dependencies", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"Build", | ||
"BuildVersion", | ||
"Clean", | ||
"CoreBuild", | ||
"CorePack", | ||
"CoreRestore", | ||
"CoreTest", | ||
"Default", | ||
"DotnetToolRestore", | ||
"Generate_Code_Coverage_Badges", | ||
"Generate_Code_Coverage_Report", | ||
"Generate_Code_Coverage_Report_Cobertura", | ||
"Generate_Code_Coverage_Summary", | ||
"GenerateCodeCoverageBadges", | ||
"GenerateCodeCoverageReport", | ||
"GenerateCodeCoverageReportCobertura", | ||
"GenerateCodeCoverageSummary", | ||
"GenerateReadme", | ||
"Lint", | ||
"Pack", | ||
"Restore", | ||
"Test", | ||
"Trigger_Code_Coverage_Reports", | ||
"TriggerCodeCoverageReports" | ||
] | ||
} | ||
}, | ||
"Solution": { | ||
"type": "string", | ||
"description": "Path to a solution file that is automatically loaded" | ||
}, | ||
"Target": { | ||
"type": "array", | ||
"description": "List of targets to be invoked. Default is '{default_target}'", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"Build", | ||
"BuildVersion", | ||
"Clean", | ||
"CoreBuild", | ||
"CorePack", | ||
"CoreRestore", | ||
"CoreTest", | ||
"Default", | ||
"DotnetToolRestore", | ||
"Generate_Code_Coverage_Badges", | ||
"Generate_Code_Coverage_Report", | ||
"Generate_Code_Coverage_Report_Cobertura", | ||
"Generate_Code_Coverage_Summary", | ||
"GenerateCodeCoverageBadges", | ||
"GenerateCodeCoverageReport", | ||
"GenerateCodeCoverageReportCobertura", | ||
"GenerateCodeCoverageSummary", | ||
"GenerateReadme", | ||
"Lint", | ||
"Pack", | ||
"Restore", | ||
"Test", | ||
"Trigger_Code_Coverage_Reports", | ||
"TriggerCodeCoverageReports" | ||
] | ||
} | ||
}, | ||
"Verbosity": { | ||
"type": "string", | ||
"description": "Logging verbosity during build execution. Default is 'Normal'", | ||
"enum": [ | ||
"Minimal", | ||
"Normal", | ||
"Quiet", | ||
"Verbose" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |