diff options
author | Vlastimil Zíma <vlastimil.zima@nic.cz> | 2017-11-22 13:31:54 +0100 |
---|---|---|
committer | Vlastimil Zíma <vlastimil.zima@nic.cz> | 2017-11-22 13:32:19 +0100 |
commit | 189a2092b20c7e6f61c0b35c73626b7513e3100b (patch) | |
tree | a9ebb6b714c33f38fc98db8b15226052c4fd9398 | |
parent | 44ed430eb790c776e6d097fd55594ec71bfe92cc (diff) | |
download | openid-189a2092b20c7e6f61c0b35c73626b7513e3100b.tar.gz |
Add Makefile
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 10 |
3 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1aadc14 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/Makefile whitespace=space-before-tab,indent-with-non-tab,tabwidth=4 @@ -3,4 +3,6 @@ *.swp .tox # Created in tests +/.coverage +/htmlcov /sstore diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..161b421 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: test coverage + +test: + python admin/runtests + +coverage: + python-coverage erase + -rm -r htmlcov + python-coverage run --branch --source="." admin/runtests + python-coverage html --directory=htmlcov |