0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-16 03:03:41 +01:00
dendrite/hooks/pre-commit
Richard van der Hoff db32692f2e
Just run the linter in the commit hook (#334)
The pre-commit hook took 45 seconds to run on my machine, which was more than
enough time for me to get distracted by a swordfight in the corridor.

Let's just run the linters (which still take 6 seconds). It's not the place of
a commit hook to run every test we can think of - that is what CI is for.
2017-11-15 11:14:21 +00:00

5 lines
51 B
Bash
Executable file

#! /bin/bash
set -eu
./scripts/find-lint.sh fast