构建脚本更新
This commit is contained in:
parent
1594bfa5f8
commit
c175b798e8
42
kit.json
42
kit.json
@ -74,6 +74,48 @@
|
|||||||
"func": "open",
|
"func": "open",
|
||||||
"path": "%out_path%/"
|
"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%/"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user