mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-09 07:21:30 +01:00
Initial commit
This commit is contained in:
9
scripts/install-hook.sh
Executable file
9
scripts/install-hook.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/env bash
|
||||
# This script will install the provided directory ../.hooks as the hook
|
||||
# directory for the present repo. See there for hooks, including a pre-commit
|
||||
# hook that runs rustfmt on files before a commit.
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
HOOKS_DIR="${DIR}/../.hooks"
|
||||
|
||||
git config core.hooksPath "$HOOKS_DIR"
|
||||
Reference in New Issue
Block a user