构建脚本更新

This commit is contained in:
cheney 2022-08-17 17:49:29 +08:00
parent 1594bfa5f8
commit c175b798e8

View File

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