ui: buildsys: add lint target

not yet automatically called on build, as it still fails.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-07-14 07:42:55 +02:00
parent 34389132d9
commit ec2434fe3c
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ js/proxmox-backup-gui.js: js OnlineHelpInfo.js ${JSSRC}
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
mv $@.tmp $@
.PHONY: lint
lint: ${JSSRC}
eslint ${JSSRC}
.PHONY: clean
clean:
find . -name '*~' -exec rm {} ';'