oliverdavies.uk-drupal-old/tools/scripts/git-hooks/init.sh

8 lines
124 B
Bash
Raw Normal View History

2021-05-22 13:37:49 +00:00
#!/bin/sh
set -e
mkdir -p "$PWD/.git/hooks"
ln -sf "$PWD/tools/scripts/git-hooks/pre-push.sh" "$PWD/.git/hooks/pre-push"