mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 01:12:42 +01:00
feat(git): use tracked git hooks
This commit is contained in:
parent
69bd6e9a5c
commit
72ee851a59
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
install: dotfiles
|
install: dotfiles git-hooks
|
||||||
|
|
||||||
# Install dotfiles in users home directory
|
# Install dotfiles in users home directory
|
||||||
dotfiles:
|
dotfiles:
|
||||||
|
|
@ -8,3 +8,7 @@ dotfiles:
|
||||||
else \
|
else \
|
||||||
echo "Dotfiles already installed or folder is missing"; \
|
echo "Dotfiles already installed or folder is missing"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Use tracked git hooks
|
||||||
|
git-hooks:
|
||||||
|
git config --local core.hooksPath .local/share/git/hooks
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue