telegram-bot-bash/test/a-commit-test.sh
Kay Marquardt (Gnadelwartz) f53b8df40f start test framework
2019-04-19 17:31:01 +02:00

11 lines
269 B
Bash
Executable File

#!/usr/bin/env bash
#### $$VERSION$$ 0.70-dev-11-g41b8e69
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script
GIT_DIR=$(git rev-parse --git-dir)
cd "$GIT_DIR/.." || exit 1
dev/hooks/pre-commit.sh