mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Framework: bail on missing pkg-descr, we want this always
This commit is contained in:
+6
-1
@@ -231,7 +231,12 @@ umount: check
|
||||
clean: check
|
||||
@git reset -q . && git checkout -f . && git clean -xdqf .
|
||||
|
||||
lint: check
|
||||
lint-desc: check
|
||||
@if [ ! -f ${.CURDIR}/${PLUGIN_DESC} ]; then \
|
||||
echo ">>> Missing ${PLUGIN_DESC}"; exit 1; \
|
||||
fi
|
||||
|
||||
lint: lint-desc
|
||||
find ${.CURDIR}/src \
|
||||
-name "*.sh" -type f -print0 | xargs -0 -n1 sh -n
|
||||
find ${.CURDIR}/src \
|
||||
|
||||
Reference in New Issue
Block a user