diff --git a/strawboss.projectdef.json b/strawboss.projectdef.json index 4048ca7..f2c2d9e 100644 --- a/strawboss.projectdef.json +++ b/strawboss.projectdef.json @@ -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" ] } }