From ec2434fe3ce4b31381a5575c2a7e745e3cf0934f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 14 Jul 2020 07:42:55 +0200 Subject: [PATCH] ui: buildsys: add lint target not yet automatically called on build, as it still fails. Signed-off-by: Thomas Lamprecht --- www/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/Makefile b/www/Makefile index f75082b1..a92bdc91 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 {} ';'