mirror of
https://github.com/meshtastic/python.git
synced 2025-12-26 17:37:51 -05:00
25 lines
417 B
Makefile
25 lines
417 B
Makefile
# unit test
|
|
test:
|
|
pytest
|
|
|
|
# local install
|
|
install:
|
|
pip install .
|
|
|
|
# lint the codebase
|
|
lint:
|
|
pylint meshtastic
|
|
|
|
# run the coverage report and open results in a browser
|
|
cov:
|
|
pytest --cov-report html --cov=meshtastic
|
|
# on mac, this will open the coverage report in a browser
|
|
open htmlcov/index.html
|
|
|
|
# run cli examples
|
|
examples: FORCE
|
|
pytest -mexamples
|
|
|
|
# Makefile hack to get the examples to always run
|
|
FORCE: ;
|