mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
plugins: add lint-acl pass
This commit is contained in:
parent
c86e31a0d0
commit
b77cb8ee77
1 changed files with 10 additions and 1 deletions
|
|
@ -366,6 +366,15 @@ lint-model:
|
|||
done; \
|
||||
done; fi
|
||||
|
||||
ACLBIN?= ${.CURDIR}/../../../core/Scripts/dashboard-acl.sh
|
||||
|
||||
lint-acl: check
|
||||
.if exists(${ACLBIN})
|
||||
@${ACLBIN}
|
||||
.else
|
||||
@echo "Did not find ACLBIN, please provide a core repository"; exit 1
|
||||
.endif
|
||||
|
||||
lint-exec: check
|
||||
.for DIR in ${.CURDIR}/src/opnsense/scripts ${.CURDIR}/src/etc/rc.d ${.CURDIR}/src/etc/rc.syshook.d
|
||||
.if exists(${DIR})
|
||||
|
|
@ -384,7 +393,7 @@ lint-php: check
|
|||
@echo "Did not find LINTBIN, please provide a core repository"; exit 1
|
||||
.endif
|
||||
|
||||
lint: lint-desc lint-shell lint-xml lint-model lint-exec lint-php
|
||||
lint: lint-desc lint-shell lint-xml lint-model lint-acl lint-exec lint-php
|
||||
|
||||
plist-fix:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue