diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-12 08:03:39 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-12 09:00:12 +0200 |
commit | 3ded91b33ad1f756ed9e7c798528aeace532fdf3 (patch) | |
tree | e3de240e25184022d36f1bdbf8210852897a07da /Makefile | |
parent | 9fcd6b1595c08363d09760c48fc24ece61c5a97f (diff) |
Move doc generation and test invocation to separate Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..4575b355 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: syntax-check test + +test: + export GIT_AUTHOR_NAME="Gbp Tests"; \ + export GIT_AUTHOR_EMAIL=tests@example.com; \ + export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \ + export GIT_COMMITTER_EMAIL=$$GIT_AUTHOR_EMAIL; \ + PYTHONPATH=. \ + python setup.py nosetests --with-xcoverage + +syntax-check: + PYTHONPATH=. pychecker $(PYCHECKER_ARGS) -q \ + gbp gbp.scripts gbp.git gbp.deb + +docs: + make -C docs + +apidocs: + mkdir -p build + epydoc -v --config=setup.cfg + +.PHONY: docs |