buildsys: 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 <t.lamprecht@proxmox.com>
(cherry picked from commit 557c45056c)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-28 10:40:19 +02:00
parent 86568d27c1
commit dfc86baacb

View File

@ -88,6 +88,7 @@ all: ${SUBDIRS}
check: lint
lint: ${JSSRC}
eslint --strict ${JSSRC}
touch ".lint-incremental"
proxmoxlib.js: .lint-incremental ${JSSRC}
# add the version as comment in the file