Add basic Makefile for venv and tests

This commit is contained in:
Jeremy Singer-Vine
2020-07-25 08:46:03 -04:00
parent 1ac16dd369
commit 4c69c58f1a
+13
View File
@@ -0,0 +1,13 @@
.PHONY: venv tests
PYTHON=venv/bin/python
PIP=venv/bin/pip
venv:
python -m venv venv
${PIP} install -U pip
${PIP} freeze | xargs ${PIP} uninstall -y
${PIP} install -r requirements.txt
${PIP} install -r requirements-dev.txt
tests:
${PYTHON} -m pytest