Framework: bail on missing pkg-descr, we want this always

This commit is contained in:
Franco Fichtner
2017-09-18 20:43:12 +02:00
parent 4f2d96bc4e
commit 1b5212365e
+6 -1
View File
@@ -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 \