diff options
| author | Stefan Kögl <stefan@skoegl.net> | 2013-07-07 18:48:32 +0200 |
|---|---|---|
| committer | Stefan Kögl <stefan@skoegl.net> | 2013-07-07 18:54:15 +0200 |
| commit | faa346f16ba586e1c5e1030437cdae9061b79b46 (patch) | |
| tree | 82f483afaf49c9d6fb5d62eb32d7380bedb8c555 /makefile | |
| parent | 8584ae93582437f6c15ab69c2ddbb31c12da26ca (diff) | |
| download | python-json-pointer-faa346f16ba586e1c5e1030437cdae9061b79b46.tar.gz | |
move coverage code from tests.py to makefile
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..e0a2fcf --- /dev/null +++ b/makefile @@ -0,0 +1,17 @@ + +help: + @echo "jsonpointer" + @echo "Makefile targets" + @echo " - test: run tests" + @echo " - coverage: run tests with coverage" + @echo + @echo "To install jsonpointer, type" + @echo " python setup.py install" + @echo + +test: + python tests.py + +coverage: + coverage run --source=jsonpointer tests.py + coverage report -m |
