| # This file is part of reclass (http://github.com/madduck/reclass) |
| # Copyright © 2007–13 martin f. krafft <madduck@madduck.net> |
| # Released under the terms of the Artistic Licence 2.0 |
| PYFILES = $(shell find -name .git -o -name dist -o -name build -prune -o -name '*.py' -print) |
| @echo pylint --rcfile=.pylintrc $(ARGS) … |
| @pylint --rcfile=.pylintrc $(ARGS) $(PYFILES) |
| lint-errors: ARGS=--errors-only |
| lint-report: ARGS=--report=y |
| python-coverage -x setup.py nosetests |
| docspub: HTMLDIR=doc/build/html |
| echo '/doc/build/html/.buildinfo' > .gitignore |
| git add $(HTMLDIR) .gitignore .nojekyll |
| if git commit -m'Webpage update' -s; then \ |
| git push $(shell git config --get branch.$(BRANCH).remote) $(BRANCH); \ |