added Makefile to simplify testing
This commit is contained in:
parent
12f78fdbe4
commit
f4d1c23b7f
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Makefile for APRS module
|
||||||
|
|
||||||
|
define HELPBODY
|
||||||
|
Available commands:
|
||||||
|
|
||||||
|
make help - this thing.
|
||||||
|
make init - install python dependancies
|
||||||
|
make test - run tests and coverage
|
||||||
|
make pylint - code analysis
|
||||||
|
endef
|
||||||
|
|
||||||
|
export HELPBODY
|
||||||
|
help:
|
||||||
|
@echo "$$HELPBODY"
|
||||||
|
|
||||||
|
init:
|
||||||
|
pip install -r req.txt
|
||||||
|
|
||||||
|
test:
|
||||||
|
nosetests --verbosity 2 --with-coverage
|
||||||
|
|
||||||
|
pylint:
|
||||||
|
pylint -r n -f colorized aprs
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.6.8'
|
__version__ = '0.6.9'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
python -m unittest discover -v -s tests
|
|
||||||
Loading…
Reference in New Issue