mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-31 07:49:07 -04:00
Format frontend files with Prettier
This commit is contained in:
8
scripts/setup-git-hooks.sh
Executable file
8
scripts/setup-git-hooks.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$repo_root"
|
||||
|
||||
git config core.hooksPath .githooks
|
||||
echo "Git hooks enabled (core.hooksPath=.githooks)"
|
||||
Reference in New Issue
Block a user