added Makefile to simplify testing

This commit is contained in:
Rossen Georgiev 2014-12-08 18:17:02 +00:00
parent 12f78fdbe4
commit f4d1c23b7f
4 changed files with 27 additions and 4 deletions

23
Makefile Normal file
View File

@ -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

View File

@ -1 +1 @@
__version__ = '0.6.8' __version__ = '0.6.9'

3
req.txt Normal file
View File

@ -0,0 +1,3 @@
pyline
nose
coverage

View File

@ -1,3 +0,0 @@
#!/bin/bash
python -m unittest discover -v -s tests