File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 55PYTHON ?= python
66NOSETESTS ?= nosetests
77
8+ .PHONY : zipdoc sdist egg upload_to_pypi trailing-spaces clean-pyc clean-so clean-build clean-ctags clean in inplace test-code test-doc test-coverage test html specs check-before-commit check
9+
810zipdoc : html
911 zip documentation.zip doc/_build/html
1012
@@ -26,7 +28,7 @@ upload_to_pypi: zipdoc
2628 python setup.py sdist --formats=zip,gztar upload
2729
2830trailing-spaces :
29- find . -name " *.py" | xargs perl -pi -e ' s/[ \t]*$$//'
31+ find . -name " *[ .py|.rst] " -type f | xargs perl -pi -e ' s/[ \t]*$$//'
3032 @echo " Reverting test_docparse"
3133 git checkout nipype/utils/tests/test_docparse.py
3234
7072 @echo " Checking specs and autogenerating spec tests"
7173 python tools/checkspecs.py
7274
75+ check : check-before-commit # just a shortcut
7376check-before-commit : specs trailing-spaces html test
7477 @echo " removed spaces"
7578 @echo " built docs"
You can’t perform that action at this time.
0 commit comments