File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
PY_FILES = find . -type f -not -path '*/\.*' | grep -i '.*[.]py$$' 2> /dev/null
2
+ DOC_FILES = find . -type f -not -path '*/\.*' | grep -i '.*[.]rst\$\|.*[.]md\$\|.*[.]css\$\|.*[.]py\$\|mkdocs\.yml\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
3
+ ALL_FILES = find . -type f -not -path '*/\.*' | grep -i '.*[.]py\$\|.*[.]rst\$\|.*[.]md\$\|.*[.]css\$\|.*[.]py\$\|mkdocs\.yml\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
2
4
3
5
4
6
entr_warn :
22
24
$(MAKE ) test ; poetry run ptw .
23
25
24
26
watch_test :
25
- if command -v entr > /dev/null; then ${PY_FILES } | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
27
+ if command -v entr > /dev/null; then ${ALL_FILES } | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
26
28
27
29
build_docs :
28
30
$(MAKE ) -C docs html
You can’t perform that action at this time.
0 commit comments