|
|
@@ -21,7 +21,13 @@ lint: |
|
|
|
pylint --rcfile=.pylintrc nilmdb |
|
|
|
|
|
|
|
test: |
|
|
|
ifeq ($(INSIDE_EMACS), t) |
|
|
|
# Use the slightly more flexible script |
|
|
|
python tests/runtests.py |
|
|
|
else |
|
|
|
# Let setup.py check dependencies, build stuff, and run the test |
|
|
|
python setup.py nosetests |
|
|
|
endif |
|
|
|
|
|
|
|
clean:: |
|
|
|
find . -name '*pyc' | xargs rm -f |
|
|
@@ -33,4 +39,4 @@ clean:: |
|
|
|
gitclean:: |
|
|
|
git clean -dXf |
|
|
|
|
|
|
|
.PHONY: all build dist sdist install docs lint test clean |
|
|
|
.PHONY: all version build dist sdist install docs lint test clean |