mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
make: only check the actual PHP directory for `style'
This commit is contained in:
parent
77de1e2265
commit
0a2b91bf9d
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user