From 3596eb284f2e9e71bc6ecedc5a2fc16ba2b9304a Mon Sep 17 00:00:00 2001 From: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:37:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0nuke=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=8F=82=E6=95=B0=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nuke/build.schema.json | 237 +++++++++++++++++++--------------------- 1 file changed, 114 insertions(+), 123 deletions(-) diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index c5a1a1a5d4..11d1a2c345 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,127 +1,118 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Build Schema", - "$ref": "#/definitions/build", - "definitions": { - "build": { - "type": "object", - "properties": { - "Continue": { - "type": "boolean", - "description": "Indicates to continue a previously failed build attempt" - }, - "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", - "Bitbucket", - "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": [ - "Default", - "DevBuild", - "DevBuildDefault", - "DevBuildReleaseSimulation", - "ReleaseMaa", - "SetMaaChangeLog", - "SetPackageBundled", - "SetVersion", - "UseClean", - "UseCommitVersion", - "UseMaaChangeLog", - "UseMaaDevBundle", - "UseMaaRelease", - "UsePublishArtifact", - "UsePublishRelease", - "UseRsVersion", - "UseTagVersion", - "WithCompileCoreRelease", - "WithCompileWpfRelease", - "WithSyncRes" - ] - } - }, - "Target": { - "type": "array", - "description": "List of targets to be invoked. Default is '{default_target}'", - "items": { - "type": "string", - "enum": [ - "Default", - "DevBuild", - "DevBuildDefault", - "DevBuildReleaseSimulation", - "ReleaseMaa", - "SetMaaChangeLog", - "SetPackageBundled", - "SetVersion", - "UseClean", - "UseCommitVersion", - "UseMaaChangeLog", - "UseMaaDevBundle", - "UseMaaRelease", - "UsePublishArtifact", - "UsePublishRelease", - "UseRsVersion", - "UseTagVersion", - "WithCompileCoreRelease", - "WithCompileWpfRelease", - "WithSyncRes" - ] - } - }, - "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#", + "definitions": { + "Host": { + "type": "string", + "enum": [ + "AppVeyor", + "AzurePipelines", + "Bamboo", + "Bitbucket", + "Bitrise", + "GitHubActions", + "GitLab", + "Jenkins", + "Rider", + "SpaceAutomation", + "TeamCity", + "Terminal", + "TravisCI", + "VisualStudio", + "VSCode" + ] + }, + "ExecutableTarget": { + "type": "string", + "enum": [ + "Default", + "DevBuild", + "DevBuildDefault", + "DevBuildReleaseSimulation", + "ReleaseMaa", + "SetMaaChangeLog", + "SetPackageBundled", + "SetVersion", + "UseClean", + "UseCommitVersion", + "UseMaaChangeLog", + "UseMaaDevBundle", + "UseMaaRelease", + "UsePublishArtifact", + "UsePublishRelease", + "UseRsVersion", + "UseTagVersion", + "WithCompileCoreRelease", + "WithCompileWpfRelease", + "WithSyncRes" + ] + }, + "Verbosity": { + "type": "string", + "description": "", + "enum": [ + "Verbose", + "Normal", + "Minimal", + "Quiet" + ] + }, + "NukeBuild": { + "properties": { + "Continue": { + "type": "boolean", + "description": "Indicates to continue a previously failed build attempt" + }, + "Help": { + "type": "boolean", + "description": "Shows the help text for this build assembly" + }, + "Host": { + "description": "Host for execution. Default is 'automatic'", + "$ref": "#/definitions/Host" + }, + "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": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Target": { + "type": "array", + "description": "List of targets to be invoked. Default is '{default_target}'", + "items": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Verbosity": { + "description": "Logging verbosity during build execution. Default is 'Normal'", + "$ref": "#/definitions/Verbosity" } + } } + }, + "$ref": "#/definitions/NukeBuild" }