Last active
August 16, 2016 16:05
-
-
Save warmwaffles/db4f234425e51179ea6234cf9775f339 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Language: Cpp | |
BasedOnStyle: Mozilla | |
IndentWidth: 4 | |
AllowShortFunctionsOnASingleLine: None | |
AllowShortIfStatementsOnASingleLine: false | |
AllowShortLoopsOnASingleLine: false | |
AlignAfterOpenBracket: Align | |
SpaceBeforeParens: ControlStatements | |
ColumnLimit: 100 | |
UseTab: Never | |
SortIncludes: false | |
AlignOperands: true | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
find ./src/ -type f -name "*.c" | xargs clang-format -i | |
find ./src/ -type f -name "*.h" | xargs clang-format -i | |
find ./tools/ -type f -name "*.c" | xargs clang-format -i | |
find ./tools/ -type f -name "*.h" | xargs clang-format -i | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment