mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 14:51:37 +00:00
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 $?
|
eslint $?
|
||||||
touch "$@"
|
touch "$@"
|
||||||
|
|
||||||
.PHONY: lint check
|
.PHONY: lint
|
||||||
check: lint
|
check: lint
|
||||||
lint: ${JSSRC}
|
lint: ${JSSRC}
|
||||||
eslint --strict ${JSSRC}
|
eslint --strict ${JSSRC}
|
||||||
|
touch ".lint-incremental"
|
||||||
|
|
||||||
pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC}
|
pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC}
|
||||||
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user