From c175b798e81693fec40bfde5c466545ba1381cd9 Mon Sep 17 00:00:00 2001 From: cheney Date: Wed, 17 Aug 2022 17:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=84=9A=E6=9C=AC=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kit.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/kit.json b/kit.json index 34f596d..308dff3 100644 --- a/kit.json +++ b/kit.json @@ -74,6 +74,48 @@ "func": "open", "path": "%out_path%/" } + ], + "extjar": [ + { + "cmd": "clear" + }, + { + "cmd": "init" + }, + { + "func": "cp", + "from": "./extjar/sydapi-database-1.0.jar", + "to": "%out_path%/jar/sydapi-database-1.0.jar" + }, + { + "shell" : "mvn dependency:copy-dependencies -DincludeScope=runtime -DoutputDirectory=%out_path%/jar/dependences", + "check": "BUILD SUCCESS" + }, + { + "func": "cp", + "from": "./doc", + "to": "%out_path%/doc" + }, + { + "func": "cp", + "from": "./src/test/java/sample", + "to": "%out_path%/sample" + }, + { + "func": "cp", + "from": "./说明.txt", + "to": "%out_path%/说明.txt" + }, + { + "func": "zip", + "from": "%out_path%/*", + "to": "%out_path%/sydapi-database-%version%.%project.git_commit_hash%.zip", + "password" : "%string(number|lower|upper,8)%" + }, + { + "func": "open", + "path": "%out_path%/" + } ] }