mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
updated .clang-format to be compatible wih version 10, and added directory change for clang compilation and testing
This commit is contained in:
parent
185117b56a
commit
4ae3d6d932
@ -4,7 +4,7 @@ AccessModifierOffset: '-4'
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignConsecutiveMacros: 'false'
|
||||
AlignEscapedNewlines: Left
|
||||
AlignOperands: AlignAfterOperator
|
||||
AlignOperands: 'true' #AlignAfterOperator
|
||||
AlignTrailingComments: 'true'
|
||||
AllowShortBlocksOnASingleLine: 'true'
|
||||
AllowShortCaseLabelsOnASingleLine: 'true'
|
||||
@ -20,6 +20,7 @@ BinPackArguments: 'true'
|
||||
BinPackParameters: 'true'
|
||||
BreakBeforeBraces: Allman
|
||||
BreakBeforeTernaryOperators: 'false'
|
||||
BreakBeforeBinaryOperators: 'false'
|
||||
BreakConstructorInitializers: AfterColon
|
||||
BreakInheritanceList: AfterColon
|
||||
ColumnLimit: '0'
|
||||
|
@ -43,6 +43,7 @@ steps:
|
||||
- cd crow-clang-format
|
||||
- chmod +x crow-clang-format.sh get-access-token.sh make-jwt.sh
|
||||
- ./crow-clang-format.sh
|
||||
- cd ..
|
||||
- export CC=/usr/bin/clang
|
||||
- export CXX=/usr/bin/clang++
|
||||
- mkdir build-clang
|
||||
|
Loading…
Reference in New Issue
Block a user