python-telegram-bot/Makefile
2015-09-08 15:03:04 -03:00

24 lines
465 B
Makefile

.PHONY: clean pep8 lint test
clean:
rm -fr build
rm -fr dist
find . -name '*.pyc' -exec rm -f {} \;
find . -name '*.pyo' -exec rm -f {} \;
find . -name '*~' -exec rm -f {} \;
pep8:
flake8 telegram
lint:
pylint -E telegram
test:
nosetests
help:
@echo "Available targets:"
@echo "- clean Clean up the source directory"
@echo "- pep8 Check style with flake8"
@echo "- lint Check style with pylint"
@echo "- test Run tests"