add note about pre-push
This commit is contained in:
parent
49a2bd52f0
commit
18d8cb561c
@ -69,6 +69,12 @@ Tests Must Pass
|
|||||||
----------------
|
----------------
|
||||||
|
|
||||||
Please make sure 'make check' completes successfully before submitting code.
|
Please make sure 'make check' completes successfully before submitting code.
|
||||||
|
You can do this automatically by adding the following into .git/hooks/pre-push
|
||||||
|
and making it executable.
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
make check
|
||||||
|
|
||||||
If your change is to anki/ and not covered by the existing unit tests, please
|
If your change is to anki/ and not covered by the existing unit tests, please
|
||||||
consider adding a unit test at the same time.
|
consider adding a unit test at the same time.
|
||||||
|
Loading…
Reference in New Issue
Block a user