add ShanxiControlProxy

This commit is contained in:
scq 2023-07-26 11:51:33 +08:00
parent 9a1d9ef793
commit 76390119c5
2 changed files with 2 additions and 2 deletions

View File

@ -98,13 +98,13 @@ task buildZip(type: Zip, dependsOn: ["copyAssets", "grepCP", "copyJar", "copyYJS
task buildYPK(dependsOn: ["buildZip", "grepCP"]) { task buildYPK(dependsOn: ["buildZip", "grepCP"]) {
doLast { doLast {
org.bdware.datanet.YPKPacker.staticPack("./backend/build/ControlProxy.zip", "./backend/build/ControlProxy-${project.version}.ypk") org.bdware.datanet.YPKPacker.staticPack("./backend/build/ControlProxy.zip", "./backend/build/ShanxiControlProxy-${project.version}.ypk")
} }
} }
task deploy(dependsOn: ["buildYPK"]) { task deploy(dependsOn: ["buildYPK"]) {
doLast { doLast {
org.bdware.ypkdeploy.HTTPTool.deployWithYpk("./backend/deployconfig.json","./backend/build/ControlProxy-${project.version}.ypk") org.bdware.ypkdeploy.HTTPTool.deployWithYpk("./backend/deployconfig.json","./backend/build/ShanxiControlProxy-${project.version}.ypk")
//org.bdware.ypkdeploy.HTTPTool.batchRun("./backend/deployconfig.json", true) //org.bdware.ypkdeploy.HTTPTool.batchRun("./backend/deployconfig.json", true)
} }
} }