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

8 lines
124 B
Bash
Executable file

#!/bin/sh
set -e
mkdir -p "$PWD/.git/hooks"
ln -sf "$PWD/tools/scripts/git-hooks/pre-push.sh" "$PWD/.git/hooks/pre-push"