diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aac3a23 --- /dev/null +++ b/Makefile @@ -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 diff --git a/aprs/version.py b/aprs/version.py index 085bc85..6300a70 100644 --- a/aprs/version.py +++ b/aprs/version.py @@ -1 +1 @@ -__version__ = '0.6.8' +__version__ = '0.6.9' diff --git a/req.txt b/req.txt new file mode 100644 index 0000000..2afac18 --- /dev/null +++ b/req.txt @@ -0,0 +1,3 @@ +pyline +nose +coverage diff --git a/run_tests.sh b/run_tests.sh deleted file mode 100755 index 698324f..0000000 --- a/run_tests.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -python -m unittest discover -v -s tests