summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..237231e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+default:
+.PHONY : install install_bundle get_amalgamation upload test clean
+
+install: clean
+ python setup.py install
+
+install_bundle: clean
+ python setup.py install --bundled
+
+get_amalgamation:
+ scripts/get_latest_amalgamation.sh amalgamation_latest
+
+upload:
+ python setup.py sdist upload -r pypi
+
+test:
+ rm -f tests/*.db
+ cd tests && ./run.sh
+ rm -f tests/*.db
+
+clean:
+ rm -rf build dist