1
0
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:
DarthSim 2024-07-11 18:07:52 +03:00
parent dc8c891121
commit 06cd9413c6

View File

@ -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: