make: shuffle this test to core

This commit is contained in:
Franco Fichtner
2025-07-29 11:10:02 +02:00
parent ede3290122
commit 9686f6ca16
4 changed files with 6 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ list:
.endfor
# shared targets that are sane to run from the root directory
TARGETS= clean glint lint plist-fix revision style style-fix style-model style-python sweep test
TARGETS= clean glint lint plist-fix revision style sweep test
.for TARGET in ${TARGETS}
${TARGET}:

View File

@@ -24,8 +24,3 @@
# SUCH DAMAGE.
.-include "${PLUGINSDIR}/../core/Mk/lint.mk"
lint-desc: check
@if [ ! -f ${.CURDIR}/${PLUGIN_DESC} ]; then \
echo ">>> Missing ${PLUGIN_DESC}"; exit 1; \
fi

View File

@@ -24,7 +24,7 @@
# SUCH DAMAGE.
all: check
@cat ${.CURDIR}/pkg-descr | ${PAGER}
@cat ${.CURDIR}/${PLUGIN_DESC} | ${PAGER}
.include "defaults.mk"
@@ -32,8 +32,6 @@ PLUGINSDIR?= ${.CURDIR}/../..
SCRIPTSDIR= ${PLUGINSDIR}/Scripts
TEMPLATESDIR= ${PLUGINSDIR}/Templates
.include "lint.mk"
.if exists(${GIT}) && exists(${GITVERSION})
PLUGIN_COMMIT!= ${GITVERSION}
.else
@@ -54,6 +52,8 @@ PLUGIN_REVISION?= 0
PLUGIN_REQUIRES= PLUGIN_NAME PLUGIN_VERSION PLUGIN_COMMENT \
PLUGIN_MAINTAINER
.include "lint.mk"
check:
.for PLUGIN_REQUIRE in ${PLUGIN_REQUIRES}
. if "${${PLUGIN_REQUIRE}}" == ""

View File

@@ -150,9 +150,8 @@ The make targets for the root directory:
* clean: remove all changes and unknown files
* lint: run syntax checks
* list: print a list of all plugin directories with comments
* style-fix: apply style fixes
* style: run style checks
* sweep: apply whitespace fixes
* sweep: apply style fixes
The make targets for any plugin directory:
@@ -163,6 +162,5 @@ The make targets for any plugin directory:
* package: creates a package
* upgrade: upgrades existing package
* remove: remove known files from target directory
* style-fix: apply style fixes
* style: run style checks
* sweep: apply whitespace fixes
* sweep: apply style fixes