Add clang-format. Fix entrypoint.

This commit is contained in:
James Pace 2023-02-19 22:15:47 +00:00
parent 4233e753f8
commit a23f236849
2 changed files with 19 additions and 0 deletions

19
.clang-format Normal file
View File

@ -0,0 +1,19 @@
---
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
BreakBeforeBraces: Allman
ColumnLimit: 100
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
DerivePointerAlignment: false
PointerAlignment: Middle
ReflowComments: false
AllowShortBlocksOnASingleLine: false
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
AllowShortFunctionsOnASingleLine: Inline
IndentWidth: 4
...

0
docker/entrypoint.bash Normal file → Executable file
View File