telegram-bot-bash/test/a-push-test.sh

10 lines
266 B
Bash
Raw Normal View History

2019-04-19 15:31:01 +00:00
#!/usr/bin/env bash
2019-04-19 17:24:30 +00:00
#### $$VERSION$$ 0.70-dev-15-g074a103
2019-04-19 15:31:01 +00:00
# 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-push.sh