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 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 +}