environment_sensors/Makefile
2019-10-13 09:44:52 +01:00

30 lines
424 B
Makefile

SHELL=/bin/bash
.PHONY: run
run: venv
python3 sensors
test:
pytest --cov=. --cov-report=html
developement:
python3 -m venv venv
( \
source venv/bin/activate; \
pip3 install -e .; \
pip3 install -r requirements/development.txt; \
)
venv:
python3 -m venv venv
( \
source venv/bin/activate; \
pip3 install .; \
)
clean:
rm -rf venv/
find . \( -name __pycache__ -o -name "*.pyc" \) -delete
rm -rf htmlcov/