33 lines
785 B
JSON
33 lines
785 B
JSON
{
|
|
"name": "strawboss",
|
|
"steps": {
|
|
"compile": {
|
|
"artifacts": ["strawboss"],
|
|
"stepCmd": "nimble build"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"build": {
|
|
"artifacts": ["strawboss-$VERSION.zip"],
|
|
"depends": ["compile", "unittest", "functest"],
|
|
"cmdInput": [
|
|
"zip strawboss-$VERSION.zip $compile_DIR/strawboss \",
|
|
" strawboss.config.json example.json \ ",
|
|
" src/main/systemd/strawboss.service"
|
|
]
|
|
}
|
|
}
|
|
}
|