git-secret/utils/pre-commit.sh

13 lines
129 B
Bash
Raw Normal View History

2016-02-23 21:11:37 +00:00
#!/usr/bin/env bash
2016-02-21 13:26:17 +00:00
set -e
2016-02-23 10:12:44 +00:00
unset GIT_WORK_TREE
2016-02-21 13:26:17 +00:00
# Run tests:
make test
# Build new manuals:
make build-man
2016-02-23 21:48:25 +00:00
git add man/man1/*