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%/" + } ] }