environment_sensors/Makefile

31 lines
464 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 -r requirements/development.txt; \
pip3 install . -e; \
)
venv:
python3 -m venv venv
( \
source venv/bin/activate; \
pip3 install -r requirements/base.txt; \
pip3 install -e
)
clean:
rm -rf venv/
find . \( -name __pycache__ -o -name "*.pyc" \) -delete
rm -rf htmlcov/