]> git.proxmox.com Git - pve-eslint.git/blobdiff - Makefile
commit build of 8.41.0
[pve-eslint.git] / Makefile
index 05bc8e07aa4a54eed31af4a4785a78c289619f58..57d52b37cad656c5a2ff92893220ac3ffd59a497 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
 
 SRCDIR=src
 UPSTREAM=eslint
-UPSTREAMTAG=v7.0.0
+UPSTREAMTAG=v8.41.0
 BUILDSRC=${UPSTREAM}-${UPSTREAMTAG}
 
 all: ${DEB}
@@ -49,7 +49,7 @@ download:
 # NOTE: needs npm installed, downloads packages from npm
 .PHONY: buildupstream
 buildupstream: ${BUILDSRC}
-       cp ${BUILDSRC}/build/eslint.js ${SRCDIR}/eslint.js
+       cp ${BUILDSRC}/build/eslint.js ${SRCDIR}/lib/eslint.js
 
 ${BUILDSRC}: ${UPSTREAM} patches
        rm -rf $@
@@ -60,11 +60,11 @@ ${BUILDSRC}: ${UPSTREAM} patches
        cd $@.tmp; rm -rf .pc ./patches
        mv $@.tmp $@
        cd $@; npm install
-       cd $@; npm run webpack
+       cd $@; npm run build:webpack
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg,pve --dist buster
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist bullseye
 
 .PHONY: distclean
 distclean: clean