environment_sensors/Makefile

30 lines
424 B
Makefile
Raw Normal View History

2019-10-12 20:34:39 +02:00
SHELL=/bin/bash
.PHONY: run
run: venv
2019-10-13 10:40:30 +02:00
python3 sensors
2019-10-12 20:34:39 +02:00
test:
pytest --cov=. --cov-report=html
developement:
python3 -m venv venv
( \
source venv/bin/activate; \
2019-10-13 10:44:52 +02:00
pip3 install -e .; \
2019-10-12 20:34:39 +02:00
pip3 install -r requirements/development.txt; \
)
venv:
python3 -m venv venv
( \
source venv/bin/activate; \
2019-10-13 10:44:52 +02:00
pip3 install .; \
2019-10-12 20:34:39 +02:00
)
clean:
rm -rf venv/
find . \( -name __pycache__ -o -name "*.pyc" \) -delete
rm -rf htmlcov/