Sebastian Kippe f639e3aa19
Add pre-commit hook and setup script (#129)
Add pre-commit hook and setup script

Runs the appropriate linter on staged files before committing.
2019-06-09 13:53:40 +02:00

3 lines
56 B
Bash

#!/bin/sh
cp -f scripts/git-hooks/pre-commit .git/hooks