mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
add note about pre-push
This commit is contained in:
parent
49a2bd52f0
commit
18d8cb561c
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,12 @@ Tests Must Pass
|
|||
----------------
|
||||
|
||||
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
|
||||
consider adding a unit test at the same time.
|
||||
|
|
Loading…
Reference in a new issue