mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-12 01:10:22 +00:00
update
This commit is contained in:
6
.github/workflows/cpplint.yml
vendored
6
.github/workflows/cpplint.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Run cpplint
|
||||
run: |
|
||||
CPPSOURCES=$(find ./ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)' -not -path "./build/*" -not -path "./python/*")
|
||||
CPPSOURCES=$(find ./ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)' -not -path "./build/*" -not -path "./python/*" -not -path "./test/*")
|
||||
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)
|
||||
clang-format-12 -style=file --verbose --Werror --dry-run ${CPPSOURCES}
|
||||
clang-format-12 --dry-run ${PYTHONCPPSOURCES}
|
||||
|
||||
Reference in New Issue
Block a user