From 909bf0e51440d011f92b7260370e89d96e01fc2b Mon Sep 17 00:00:00 2001 From: Gabryel Reyes <66941456+gabryelreyes@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:23:29 +0200 Subject: [PATCH 1/2] Create .clang-format Closes #4 --- .clang-format | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..4599d50 --- /dev/null +++ b/.clang-format @@ -0,0 +1,38 @@ +BasedOnStyle: Microsoft +AccessModifierOffset: '-4' +AlignConsecutiveMacros: 'true' +AlignConsecutiveAssignments: 'true' +AlignConsecutiveDeclarations: 'true' +AlignTrailingComments: 'true' +AllowAllConstructorInitializersOnNextLine: 'false' +AllowAllParametersOfDeclarationOnNextLine: 'false' +AllowShortBlocksOnASingleLine: 'false' +AllowShortCaseLabelsOnASingleLine: 'false' +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLoopsOnASingleLine: 'false' +AlwaysBreakTemplateDeclarations: 'true' +BreakAfterJavaFieldAnnotations: 'true' +BreakBeforeBraces: Allman +BreakConstructorInitializers: AfterColon +ColumnLimit: '120' +ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' +IncludeBlocks: Regroup +IndentCaseLabels: 'false' +IndentWidth: '4' +Language: Cpp +MaxEmptyLinesToKeep: '1' +NamespaceIndentation: All +PointerAlignment: Left +SortIncludes: 'false' +SortUsingDeclarations: 'true' +SpaceAfterCStyleCast: 'false' +SpaceAfterLogicalNot: 'false' +SpaceAfterTemplateKeyword: 'false' +SpaceBeforeAssignmentOperators: 'true' +SpaceBeforeCtorInitializerColon: 'true' +SpaceBeforeInheritanceColon: 'true' +SpaceBeforeParens: ControlStatements +SpaceBeforeRangeBasedForLoopColon: 'true' +SpaceInEmptyParentheses: 'false' +TabWidth: '4' +UseTab: Never From d9516949e8f10eac3edb4ba76c4b2fcb2ab6935a Mon Sep 17 00:00:00 2001 From: Gabryel Reyes <66941456+gabryelreyes@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:27:00 +0200 Subject: [PATCH 2/2] Bump version to v0.1.1 --- library.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index aaa20b8..c4df154 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ArduinoNative", - "version": "0.1.0", + "version": "0.1.1", "description": "Arduino for the native environment. It doesn't support every interface, just some of them!", "authors": [{ "name": "Andreas Merkle", @@ -16,4 +16,4 @@ "dependencies": [], "frameworks": "*", "platforms": "*" -} \ No newline at end of file +}