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 5
5
PYTHON ?= python
6
6
NOSETESTS ?= nosetests
7
7
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
+
8
10
zipdoc : html
9
11
zip documentation.zip doc/_build/html
10
12
@@ -26,7 +28,7 @@ upload_to_pypi: zipdoc
26
28
python setup.py sdist --formats=zip,gztar upload
27
29
28
30
trailing-spaces :
29
- find . -name " *.py" | xargs perl -pi -e ' s/[ \t]*$$//'
31
+ find . -name " *[ .py|.rst] " -type f | xargs perl -pi -e ' s/[ \t]*$$//'
30
32
@echo " Reverting test_docparse"
31
33
git checkout nipype/utils/tests/test_docparse.py
32
34
70
72
@echo " Checking specs and autogenerating spec tests"
71
73
python tools/checkspecs.py
72
74
75
+ check : check-before-commit # just a shortcut
73
76
check-before-commit : specs trailing-spaces html test
74
77
@echo " removed spaces"
75
78
@echo " built docs"
You can’t perform that action at this time.
0 commit comments