* Makefile.am: ignore tests/ for make cc10 and make line33
This commit is contained in:
@ -43,6 +43,7 @@ tags:
|
|||||||
cc10:
|
cc10:
|
||||||
@$(PMCCABE) `find -name '*.c' -o -name '*.cc'` \
|
@$(PMCCABE) `find -name '*.c' -o -name '*.cc'` \
|
||||||
| grep -v mu-str-normalize.c \
|
| grep -v mu-str-normalize.c \
|
||||||
|
| grep -v tests \
|
||||||
| sort -nr | awk '($$1 > 10)'
|
| sort -nr | awk '($$1 > 10)'
|
||||||
|
|
||||||
# this warns about functions that are over 33 non-comment lines long, which is a
|
# this warns about functions that are over 33 non-comment lines long, which is a
|
||||||
@ -52,6 +53,7 @@ cc10:
|
|||||||
line33:
|
line33:
|
||||||
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
|
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
|
||||||
| grep -v mu-str-normalize.c \
|
| grep -v mu-str-normalize.c \
|
||||||
|
| grep -v tests \
|
||||||
| awk '($$5 > 33)'
|
| awk '($$5 > 33)'
|
||||||
|
|
||||||
# get all todo/fixme messages
|
# get all todo/fixme messages
|
||||||
|
|||||||
Reference in New Issue
Block a user