mirror of
https://github.com/imgproxy/imgproxy.git
synced 2024-11-18 16:31:44 +02:00
Add clang-format to lefthook
This commit is contained in:
parent
dc8c891121
commit
06cd9413c6
@ -2,6 +2,10 @@ pre-commit:
|
||||
scripts:
|
||||
lint:
|
||||
tags: lint
|
||||
commands:
|
||||
lint-clang:
|
||||
tags: lint
|
||||
run: command -v clang-format && find . -not -path "./.tmp/*" -not -path "./.git/*" \( -iname "*.h" -o -iname "*.c" -o -iname "*.cpp" \) | xargs clang-format --dry-run --Werror
|
||||
|
||||
pre-push:
|
||||
scripts:
|
||||
|
Loading…
Reference in New Issue
Block a user