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:
parent
34389132d9
commit
ec2434fe3c
|
@ -55,6 +55,10 @@ js/proxmox-backup-gui.js: js OnlineHelpInfo.js ${JSSRC}
|
||||||
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint: ${JSSRC}
|
||||||
|
eslint ${JSSRC}
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
find . -name '*~' -exec rm {} ';'
|
find . -name '*~' -exec rm {} ';'
|
||||||
|
|
Loading…
Reference in New Issue