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..01cef8a
--- /dev/null
+++ b/makefile
@@ -0,0 +1,17 @@
+
+help:
+ @echo "jsonpatch"
+ @echo "Makefile targets"
+ @echo " - test: run tests"
+ @echo " - coverage: run tests with coverage"
+ @echo
+ @echo "To install jsonpatch, type"
+ @echo " python setup.py install"
+ @echo
+
+test:
+ python tests.py
+
+coverage:
+ coverage run --source=jsonpatch tests.py
+ coverage report -m