1
0
Fork 0

add another exception to the tests - nowadays node modules bring their own markdown files too

This commit is contained in:
Wilfried Goesgens 2017-03-16 17:29:51 +01:00
parent 818dbeb65a
commit 399285a161
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ stop_X11_display:
# per book targets
check-summary:
@echo "${STD_COLOR}##### checking summary for $(NAME)${RESET}"
@find ppbooks/$(NAME) -name \*.md |sed -e "s;ppbooks/$(NAME)/;;" |grep -vf SummaryBlacklist.txt |grep -v gitbook-plugin |sort > /tmp/is_md.txt
@find ppbooks/$(NAME) -name \*.md |sed -e "s;ppbooks/$(NAME)/;;" |grep -vf SummaryBlacklist.txt |grep -v gitbook-plugin |grep -v node_modules/ |sort > /tmp/is_md.txt
@cat $(NAME)/SUMMARY.md |grep -v '^ *# '|grep '(' |sed -e "s;.*(;;" -e "s;).*;;" |sort > /tmp/is_summary.txt
@if test "`comm -3 /tmp/is_md.txt /tmp/is_summary.txt|wc -l`" -ne 0; then \
echo "${ERR_COLOR}"; \