summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile17
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