]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/mobile/Makefile
try using 'pve-eslint' if it exists
[pmg-gui.git] / js / mobile / Makefile
index f07dfef6fec0856bf7c032030e5a109d63daaacd..f3856f3160897bdb6ce932f66094f40f2942807b 100644 (file)
@@ -1,3 +1,4 @@
+include ../../defines.mk
 
 # caution: order is important
 MOBILESRC=                             \
@@ -10,7 +11,7 @@ MOBILESRC=                            \
          app.js                        \
 
 lint: pmgmanagerlib-mobile.js
-       eslint $^
+       $(ESLINT) $^
 
 .PHONY: check
 check: lint