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
|
AlignAfterOpenBracket: Align
|
||||||
AlignConsecutiveMacros: 'false'
|
AlignConsecutiveMacros: 'false'
|
||||||
AlignEscapedNewlines: Left
|
AlignEscapedNewlines: Left
|
||||||
AlignOperands: AlignAfterOperator
|
AlignOperands: 'true' #AlignAfterOperator
|
||||||
AlignTrailingComments: 'true'
|
AlignTrailingComments: 'true'
|
||||||
AllowShortBlocksOnASingleLine: 'true'
|
AllowShortBlocksOnASingleLine: 'true'
|
||||||
AllowShortCaseLabelsOnASingleLine: 'true'
|
AllowShortCaseLabelsOnASingleLine: 'true'
|
||||||
@ -20,6 +20,7 @@ BinPackArguments: 'true'
|
|||||||
BinPackParameters: 'true'
|
BinPackParameters: 'true'
|
||||||
BreakBeforeBraces: Allman
|
BreakBeforeBraces: Allman
|
||||||
BreakBeforeTernaryOperators: 'false'
|
BreakBeforeTernaryOperators: 'false'
|
||||||
|
BreakBeforeBinaryOperators: 'false'
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
BreakInheritanceList: AfterColon
|
BreakInheritanceList: AfterColon
|
||||||
ColumnLimit: '0'
|
ColumnLimit: '0'
|
||||||
|
@ -43,6 +43,7 @@ steps:
|
|||||||
- cd crow-clang-format
|
- cd crow-clang-format
|
||||||
- chmod +x crow-clang-format.sh get-access-token.sh make-jwt.sh
|
- chmod +x crow-clang-format.sh get-access-token.sh make-jwt.sh
|
||||||
- ./crow-clang-format.sh
|
- ./crow-clang-format.sh
|
||||||
|
- cd ..
|
||||||
- export CC=/usr/bin/clang
|
- export CC=/usr/bin/clang
|
||||||
- export CXX=/usr/bin/clang++
|
- export CXX=/usr/bin/clang++
|
||||||
- mkdir build-clang
|
- mkdir build-clang
|
||||||
|
Loading…
Reference in New Issue
Block a user