From 3a93d83df280d820638faedcfe58e01a1f619f0b Mon Sep 17 00:00:00 2001 From: Aren Date: Mon, 2 Oct 2023 20:32:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20clang-format,=20=D1=83=D0=B4=D0=B0?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8F=20ISO=20=D0=B8=D0=B7=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .clang-format | 30 ++++++++++++++++++++++++++++++ .github/workflows/release.yml | 3 +-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..e7822f2 --- /dev/null +++ b/.clang-format @@ -0,0 +1,30 @@ +ColumnLimit: 80 +IndentWidth: 4 +UseTab: ForIndentation +TabWidth: 4 +SpacesBeforeTrailingComments: 1 +NamespaceIndentation: None +AlignConsecutiveAssignments: false +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: true +AllowShortFunctionsOnASingleLine: Inline +AllowShortCaseLabelsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: true +AllowShortLoopsOnASingleLine: true +BreakBeforeBinaryOperators: None +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: false +ConstructorInitializerAllOnOneLineOrOnePerLine: true +DerivePointerAlignment: true +IndentCaseLabels: true +KeepEmptyLinesAtTheStartOfBlocks: false +PointerAlignment: Right +ContinuationIndentWidth: 4 +SpacesInParentheses: false +SpacesInSquareBrackets: false +SpacesInAngles: false +SpaceInEmptyParentheses: true +IndentPPDirectives: None +IncludeBlocks: Preserve +Cpp11BracedListStyle: false +Standard: Cpp11 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7f6807..62636b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,11 @@ jobs: python3 build.py cp kernel.elf x86_64-kernel.elf cp mseos.hdd x86_64-mseos.hdd - cp mseos.iso x86_64-mseos.iso - name: Add and commit files uses: EndBug/add-and-commit@v9 with: - add: 'x86_64-kernel.elf x86_64-mseos.hdd x86_64-mseos.iso' + add: 'x86_64-kernel.elf x86_64-mseos.hdd' author_name: Bot author_email: bot@example.com commit: --signoff