mirror of
https://github.com/meshtastic/python.git
synced 2026-04-21 23:37:29 -04:00
add examples; add Makefile
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
# unit test
|
||||
test:
|
||||
pytest
|
||||
|
||||
# local install
|
||||
install:
|
||||
pip install .
|
||||
|
||||
# lint the codebase
|
||||
lint:
|
||||
pylint meshtastic
|
||||
|
||||
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
|
||||
|
||||
FORCE: ;
|
||||
Reference in New Issue
Block a user