make: only check the actual PHP directory for `style'

This commit is contained in:
Franco Fichtner 2015-02-23 21:36:57 +01:00
parent 77de1e2265
commit 0a2b91bf9d

View File

@ -24,7 +24,7 @@ sweep:
xargs -0 -n1 scripts/cleanfile
style:
@(phpcs --tab-width=4 --standard=PSR2 ${.CURDIR}/src/opnsense \
@(phpcs --tab-width=4 --standard=PSR2 ${.CURDIR}/src/opnsense/mvc \
|| true) > ${.CURDIR}/.style.out
@echo -n "Total number of style warnings: "
@grep '| WARNING' ${.CURDIR}/.style.out | wc -l