Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 10~),
- pve-eslint,
+ pve-eslint (>= 7.12.1-1),
Standards-Version: 3.9.8
Homepage: http://www.proxmox.com
all: ${SUBDIRS}
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i; done
+.lint-incremental: ${JSSRC}
+ eslint $?
+ touch "$@"
+
.PHONY: lint
check: lint
lint: ${JSSRC}
- eslint ${JSSRC}
+ eslint --strict ${JSSRC}
-proxmoxlib.js: ${JSSRC}
+proxmoxlib.js: .lint-incremental ${JSSRC}
# add the version as comment in the file
echo "// ${DEB_VERSION_UPSTREAM_REVISION}" > $@.tmp
cat ${JSSRC} >> $@.tmp