Add build step to the build configurationmake a zipped distributable version.
* Rename previous build step to `compile`
This commit is contained in:
parent
6556a86209
commit
dcf82d8999
@ -1,21 +1,31 @@
|
||||
{
|
||||
"name": "strawboss",
|
||||
"steps": {
|
||||
"build": {
|
||||
"compile": {
|
||||
"artifacts": ["strawboss"],
|
||||
"stepCmd": "nimble build"
|
||||
},
|
||||
"test": { "depends": ["unittest", "functest"] },
|
||||
"unittest": {
|
||||
"depends": ["compile"],
|
||||
"cmdInput": [
|
||||
"cp $build_DIR/strawboss .",
|
||||
"nim c -r src/test/nim/run_unit_tests"
|
||||
]
|
||||
},
|
||||
"functest": {
|
||||
"depends": ["compile"],
|
||||
"cmdInput": [
|
||||
"cp $build_DIR/strawboss .",
|
||||
"nim c -r src/test/nim/run_functional_tests"
|
||||
]
|
||||
},
|
||||
"unittest": {
|
||||
"build": {
|
||||
"artifacts": ["strawboss-$VERSION.zip"],
|
||||
"depends": ["compile", "unittest", "functest"],
|
||||
"cmdInput": [
|
||||
"cp $build_DIR/strawboss .",
|
||||
"nim c -r src/test/nim/run_unit_tests"
|
||||
"zip strawboss-$VERSION.zip $compile_DIR/strawboss \",
|
||||
" strawboss.config.json example.json \ ",
|
||||
" src/main/systemd/strawboss.service"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user