mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 03:03:45 +00:00
Add critical instructions and hooks for Claude Code (#8715)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -361,3 +361,9 @@ clean:
|
||||
cargo clean
|
||||
make -C $(EF_TESTS) clean
|
||||
make -C $(STATE_TRANSITION_VECTORS) clean
|
||||
|
||||
# Installs git hooks from .githooks/ directory
|
||||
install-hooks:
|
||||
@ln -sf ../../.githooks/pre-commit .git/hooks/pre-commit
|
||||
@chmod +x .githooks/pre-commit
|
||||
@echo "Git hooks installed. Pre-commit hook runs 'cargo fmt --check'."
|
||||
|
||||
Reference in New Issue
Block a user