From 31b19fafbf64ac69ebfa912c5bb26a99b55098a0 Mon Sep 17 00:00:00 2001 From: Bruno Massa Date: Tue, 2 Apr 2024 00:48:08 -0500 Subject: [PATCH] feat: new ASCII logo art BREAKING CHANGE: new page bundle --- .nuke/build.schema.json | 328 ++++++++++++++++++++-------------------- README.md | 4 +- source/Program.cs | 9 +- 3 files changed, 171 insertions(+), 170 deletions(-) diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 87122c0..7def812 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,164 +1,164 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/build", - "title": "Build Schema", - "definitions": { - "build": { - "type": "object", - "properties": { - "configuration": { - "type": "string", - "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)" - }, - "containerDefaultRID": { - "type": "string", - "description": "GitLab Project Full Address" - }, - "containerRegistryImage": { - "type": "string", - "description": "GitLab Project CI_REGISTRY_IMAGE" - }, - "Continue": { - "type": "boolean", - "description": "Indicates to continue a previously failed build attempt" - }, - "gitlabPrivateToken": { - "type": "string", - "description": "GitLab private token" - }, - "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" - ] - }, - "isScheduled": { - "type": "boolean", - "description": "If the pipeline was triggered by a schedule (or manually)" - }, - "NoLogo": { - "type": "boolean", - "description": "Disables displaying the NUKE logo" - }, - "packageName": { - "type": "string", - "description": "package-name (default: SuCoS)" - }, - "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" - } - }, - "publishDirectory": { - "type": "string", - "description": "publish-directory (default: ./publish/{runtimeIdentifier})" - }, - "publishSelfContained": { - "type": "boolean", - "description": "publish-self-contained (default: true)" - }, - "publishSingleFile": { - "type": "boolean", - "description": "publish-single-file (default: true)" - }, - "publishTrimmed": { - "type": "boolean", - "description": "publish-trimmed (default: false)" - }, - "Root": { - "type": "string", - "description": "Root directory during build execution" - }, - "runtimeIdentifier": { - "type": "string", - "description": "Runtime identifier for the build (e.g., win-x64, linux-x64, osx-x64) (default: linux-x64)" - }, - "Skip": { - "type": "array", - "description": "List of targets to be skipped. Empty list skips all dependencies", - "items": { - "type": "string", - "enum": [ - "CheckNewCommits", - "Clean", - "Compile", - "CreateContainer", - "CreatePackage", - "GitLabCreateRelease", - "GitLabCreateTag", - "Publish", - "Restore", - "ShowCurrentVersion", - "Test", - "TestReport" - ] - } - }, - "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": [ - "CheckNewCommits", - "Clean", - "Compile", - "CreateContainer", - "CreatePackage", - "GitLabCreateRelease", - "GitLabCreateTag", - "Publish", - "Restore", - "ShowCurrentVersion", - "Test", - "TestReport" - ] - } - }, - "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#", + "$ref": "#/definitions/build", + "title": "Build Schema", + "definitions": { + "build": { + "type": "object", + "properties": { + "configuration": { + "type": "string", + "description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)" + }, + "containerDefaultRID": { + "type": "string", + "description": "GitLab Project Full Address" + }, + "containerRegistryImage": { + "type": "string", + "description": "GitLab Project CI_REGISTRY_IMAGE" + }, + "Continue": { + "type": "boolean", + "description": "Indicates to continue a previously failed build attempt" + }, + "gitlabPrivateToken": { + "type": "string", + "description": "GitLab private token" + }, + "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" + ] + }, + "isScheduled": { + "type": "boolean", + "description": "If the pipeline was triggered by a schedule (or manually)" + }, + "NoLogo": { + "type": "boolean", + "description": "Disables displaying the NUKE logo" + }, + "packageName": { + "type": "string", + "description": "package-name (default: SuCoS)" + }, + "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" + } + }, + "publishDirectory": { + "type": "string", + "description": "publish-directory (default: ./publish/{runtimeIdentifier})" + }, + "publishSelfContained": { + "type": "boolean", + "description": "publish-self-contained (default: true)" + }, + "publishSingleFile": { + "type": "boolean", + "description": "publish-single-file (default: true)" + }, + "publishTrimmed": { + "type": "boolean", + "description": "publish-trimmed (default: false)" + }, + "Root": { + "type": "string", + "description": "Root directory during build execution" + }, + "runtimeIdentifier": { + "type": "string", + "description": "Runtime identifier for the build (e.g., win-x64, linux-x64, osx-x64) (default: linux-x64)" + }, + "Skip": { + "type": "array", + "description": "List of targets to be skipped. Empty list skips all dependencies", + "items": { + "type": "string", + "enum": [ + "CheckNewCommits", + "Clean", + "Compile", + "CreateContainer", + "CreatePackage", + "GitLabCreateRelease", + "GitLabCreateTag", + "Publish", + "Restore", + "ShowCurrentVersion", + "Test", + "TestReport" + ] + } + }, + "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": [ + "CheckNewCommits", + "Clean", + "Compile", + "CreateContainer", + "CreatePackage", + "GitLabCreateRelease", + "GitLabCreateTag", + "Publish", + "Restore", + "ShowCurrentVersion", + "Test", + "TestReport" + ] + } + }, + "Verbosity": { + "type": "string", + "description": "Logging verbosity during build execution. Default is 'Normal'", + "enum": [ + "Minimal", + "Normal", + "Quiet", + "Verbose" + ] + } + } + } + } +} diff --git a/README.md b/README.md index f8f920b..1baa5c8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # SuCoS ```txt -░█▀▀░█░█░█▀▀░█▀█░█▀▀ -░▀▀█░█░█░█░░░█░█░▀▀█ +░█▀▀░░░░░█▀▀░░░░░█▀▀ +░▀▀█░█░█░█░░░█▀█░▀▀█ ░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀ ``` diff --git a/source/Program.cs b/source/Program.cs index 70bc94a..ab46432 100644 --- a/source/Program.cs +++ b/source/Program.cs @@ -19,10 +19,9 @@ public class Program(ILogger logger) /// Basic logo of the program, for fun /// public const string helloWorld = @" -░█▀▀░█░█░█▀▀░█▀█░█▀▀ -░▀▀█░█░█░█░░░█░█░▀▀█ -░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀ -"; +░█▀▀░░░░░█▀▀░░░░░█▀▀ +░▀▀█░█░█░█░░░█▀█░▀▀█ +░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀"; /// /// Entry point of the program @@ -42,6 +41,8 @@ public class Program(ILogger logger) /// public async Task RunCommandLine(string[] args) { + OutputLogo(); + OutputWelcome(); return await CommandLine.Parser.Default.ParseArguments(args) .WithParsed(options => { -- GitLab