mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-26 08:01:00 +00:00
update cpplint
This commit is contained in:
6
.github/workflows/cpplint.yml
vendored
6
.github/workflows/cpplint.yml
vendored
@@ -25,4 +25,8 @@ jobs:
|
||||
run: sudo apt-get install -y clang-format-12
|
||||
|
||||
- name: Run cpplint
|
||||
run: make cpplint
|
||||
run: |
|
||||
CPPSOURCES=$(find ./ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)' -not -path "./build/*" -not -path "./python/*")
|
||||
PYTHONCPPSOURCES=$(find ./python/src/ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)')
|
||||
clang-format-12 -style=file --verbose --Werror --dry-run $(CPPSOURCES)
|
||||
clang-format-12 --dry-run $(PYTHONCPPSOURCES)
|
||||
|
||||
Reference in New Issue
Block a user