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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f0af029bd4
commit
43166cb6f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user