]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
buildsys: touch incremental-lint in check target to avoid triggering twice
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 May 2021 08:40:19 +0000 (10:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 May 2021 08:40:21 +0000 (10:40 +0200)
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>
src/Makefile

index 9e3ad4ec416c5241ea1271f719c3655873d70b25..5efe7679ad654dfa2999aded3ecdfe13d0dc778a 100644 (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