2015-09-08 15:03:04 -03:00
|
|
|
.PHONY: clean pep8 lint test
|
2015-07-07 17:19:26 -03:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -fr build
|
|
|
|
rm -fr dist
|
|
|
|
find . -name '*.pyc' -exec rm -f {} \;
|
|
|
|
find . -name '*.pyo' -exec rm -f {} \;
|
|
|
|
find . -name '*~' -exec rm -f {} \;
|
|
|
|
|
2015-08-28 17:45:44 -03:00
|
|
|
pep8:
|
|
|
|
flake8 telegram
|
|
|
|
|
2015-07-07 17:19:26 -03:00
|
|
|
lint:
|
2015-08-28 17:45:44 -03:00
|
|
|
pylint -E telegram
|
2015-07-07 17:19:26 -03:00
|
|
|
|
|
|
|
test:
|
2015-09-08 15:03:04 -03:00
|
|
|
nosetests
|
2015-09-07 16:28:00 -03:00
|
|
|
|
2015-08-28 13:02:02 -03:00
|
|
|
help:
|
2015-08-28 17:45:44 -03:00
|
|
|
@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"
|