Skip to content

Commit

Permalink
Add basic Makefile for venv and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvine committed Jul 25, 2020
1 parent 1ac16dd commit 4c69c58
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4c69c58

Please sign in to comment.