diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-14 13:38:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-14 14:48:07 +0300 |
commit | f89673a8665604c2f5cb195d7fa675f662903829 (patch) | |
tree | 87ca83103d2d7e1d6b3ac011ec291ca300acdd7a | |
parent | appveyor.yml -> .appveyor.yml (diff) | |
download | winapi-debug-f89673a8665604c2f5cb195d7fa675f662903829.tar.gz winapi-debug-f89673a8665604c2f5cb195d7fa675f662903829.zip |
AppVeyor: run clang-format
Diffstat (limited to '')
-rw-r--r-- | .appveyor.yml | 1 | ||||
-rw-r--r-- | .clang-format | 20 | ||||
m--------- | cmake | 0 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 7b29903..903456b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -24,6 +24,7 @@ install: - git submodule update --init --recursive build_script: + - '"%python_exe%" cmake\tools\clang-format.py' - >- "%python_exe%" cmake\cmake\build\ci\appveyor.py --install "%install_dir%" diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..be66da9 --- /dev/null +++ b/.clang-format @@ -0,0 +1,20 @@ +--- +Language: Cpp +BasedOnStyle: Chromium + +AccessModifierOffset: -4 +ColumnLimit: 100 +IncludeBlocks: Regroup +IndentWidth: 4 +SpacesBeforeTrailingComments: 1 + +IncludeCategories: + - Regex: '^".*' + Priority: 1 + - Regex: '^<boost/' + Priority: 2 + - Regex: '^<.*\.h>$' + Priority: 3 + - Regex: '.*' + Priority: 4 +... diff --git a/cmake b/cmake -Subproject d83b675f53bd18204b1f07105b3944cc9756e7d +Subproject 920bc49e1a5e99e8fe4765b5e9230ebd54de197 |