mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 11:56:06 -04:00
add push hook that runs test suite
This commit is contained in:
parent
0e830b319d
commit
42adc90abc
2 changed files with 9 additions and 0 deletions
3
git-hooks/README.md
Normal file
3
git-hooks/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
To use these hooks, cp any of them to onionshare's `.git/hooks`.
|
||||||
|
|
||||||
|
* `pre-push` runs the test suite, and will push if the tests pass.
|
6
git-hooks/pre-push
Executable file
6
git-hooks/pre-push
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Pre-push hook. If you want to test with a different version of firefox, put
|
||||||
|
# the path in the CFX_FIREFOX environment variable.
|
||||||
|
|
||||||
|
nosetests test
|
Loading…
Add table
Add a link
Reference in a new issue