Skip to content

Instantly share code, notes, and snippets.

@lenfree
Created May 7, 2020 21:49
Show Gist options
  • Save lenfree/2ddf446afed4008941c62aa2f22da7e6 to your computer and use it in GitHub Desktop.
Save lenfree/2ddf446afed4008941c62aa2f22da7e6 to your computer and use it in GitHub Desktop.
PRECOMMIT_SETUP := ./.git/hooks/pre-commit
$(PRECOMMIT_SETUP):
ln -sf ../../scripts/hooks/pre-commit.sh ./.git/hooks/pre-commit
runA: .env $(PRECOMMIT_SETUP)
do A
do B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment