mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
make test depend on venv
This commit is contained in:
3
Makefile
3
Makefile
@@ -10,7 +10,7 @@ $(VENV): requirements.txt requirements-dev.txt setup.py
|
|||||||
$(VENV)/bin/python3 -m pip install -e .
|
$(VENV)/bin/python3 -m pip install -e .
|
||||||
touch $(VENV)
|
touch $(VENV)
|
||||||
|
|
||||||
test:
|
test: $(VENV)
|
||||||
$(VENV)/bin/python3 -m pytest
|
$(VENV)/bin/python3 -m pytest
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@ release:
|
|||||||
.PHONY: release
|
.PHONY: release
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
rm -rf build dist *.egg-info
|
||||||
rm -rf $(VENV)
|
rm -rf $(VENV)
|
||||||
find . -type f -name *.pyc -delete
|
find . -type f -name *.pyc -delete
|
||||||
find . -type d -name __pycache__ -delete
|
find . -type d -name __pycache__ -delete
|
||||||
|
|||||||
Reference in New Issue
Block a user