Skip to content

Commit

Permalink
makefile: install git hooks on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 20, 2024
1 parent b9296a5 commit 533a9a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ PIP_INSTALL_ARGS = --trusted-host files.pythonhosted.org --trusted-host pypi.org
# if make is invoked with no arg, default to `make help`
.DEFAULT_GOAL := help

# install git hook
_ := $(shell mkdir -p .git/hooks/ && ln -sf ../../scripts/internal/git_pre_commit.py .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit)

# ===================================================================
# Install
# ===================================================================
Expand Down

0 comments on commit 533a9a4

Please sign in to comment.