From 43166cb6f80a30183a603ff94d20fe2c7ebbd948 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 28 May 2021 11:12:57 +0200 Subject: [PATCH] buildsys: www: touch incremental-lint in check target to avoid triggering twice Without this the check and the, through the 'install' target triggered, incremental lint target triggered a full eslint run. Makes it similar to what PBS did from the beginning of eslint inclusion.. Signed-off-by: Thomas Lamprecht --- www/manager6/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/manager6/Makefile b/www/manager6/Makefile index a8842d435..6776d4ce2 100644 --- a/www/manager6/Makefile +++ b/www/manager6/Makefile @@ -280,10 +280,11 @@ all: eslint $? touch "$@" -.PHONY: lint check +.PHONY: lint check: lint lint: ${JSSRC} eslint --strict ${JSSRC} + touch ".lint-incremental" pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC} cat OnlineHelpInfo.js ${JSSRC} >$@.tmp