This commit is contained in:
parent
7fbec4992e
commit
2573e67272
3 changed files with 10 additions and 7 deletions
6
Makefile
6
Makefile
|
|
@ -7,7 +7,7 @@ PYTHON=python3.6
|
|||
# =====RECIPES=====
|
||||
.venv/bin/activate: setup.py
|
||||
'$(PYTHON)' -m venv .venv
|
||||
.venv/bin/pip install -e .[dev] -e .[ci]
|
||||
.venv/bin/pip install -e .[ci] -e .[lint] -e .[dev]
|
||||
|
||||
venv: .venv/bin/activate
|
||||
.PHONY: venv
|
||||
|
|
@ -36,8 +36,10 @@ install: app
|
|||
cp backup_tool /usr/local/bin
|
||||
.PHONY: install
|
||||
|
||||
# We can't force the develop to have all the versions locally, so
|
||||
# the local tests only include python3.6
|
||||
test: venv tox.ini
|
||||
@ .venv/bin/tox
|
||||
@ .venv/bin/tox -e py36
|
||||
.PHONY: test
|
||||
|
||||
lint: venv
|
||||
|
|
|
|||
Reference in a new issue