🔧 chore(Makefile): make pre-commit hook executable
The pre-commit hook in the .githooks directory was not executable, causing it to not be triggered. This commit makes the pre-commit hook executable by adding the `chmod +x` command to set the executable permission on the pre-commit hook file.
This commit is contained in:
parent
10bbb8e901
commit
6d9bcd5e65
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -5,6 +5,8 @@ all: help
|
||||||
init:
|
init:
|
||||||
@echo 'Installing pre-commit hooks'
|
@echo 'Installing pre-commit hooks'
|
||||||
git config core.hooksPath .githooks
|
git config core.hooksPath .githooks
|
||||||
|
@echo 'Making pre-commit hook executable'
|
||||||
|
chmod +x .githooks/pre-commit
|
||||||
@echo 'Installing backend dependencies'
|
@echo 'Installing backend dependencies'
|
||||||
make install_backend
|
make install_backend
|
||||||
@echo 'Installing frontend dependencies'
|
@echo 'Installing frontend dependencies'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue