1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
imgproxy/lefthook.yml
2024-07-11 18:07:52 +03:00

18 lines
512 B
YAML

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:
test:
tags: test
commands:
check-links:
tags: docs
run: command -v lychee && lychee docs README.md CHANGELOG.md --exclude localhost --exclude twitter.com --exclude-path docs/index.html