diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-18 10:52:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-18 10:52:52 +0200 |
commit | 0d5e9640312445c63c66ab0144e97d19e644e9bc (patch) | |
tree | 63fde3a64fd72d7cd4cb6b127aa6ac934bb56372 | |
parent | f76bc9bf7f2b9378102d0d34b12987170b5ae3ef (diff) |
Assign "step id" to each step in "worker script"
-rw-r--r-- | bbot/worker/worker.cxx | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 1efeaf1..42811df 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -289,6 +289,8 @@ build (size_t argc, const char* argv[]) // bpkg create <config-vars> <env-module> <env-config-vars> // + // bpkg.configure.create + // r.status |= run_bpkg (trace, r.log, wre, "create", "-d", build_dir.string (), @@ -302,6 +304,8 @@ build (size_t argc, const char* argv[]) // bpkg add <repository-url> // + // bpkg.configure.add + // r.status |= run_bpkg (trace, r.log, wre, "add", tm.repository.string ()); if (!r.status) @@ -309,6 +313,8 @@ build (size_t argc, const char* argv[]) // bpkg fetch // + // bpkg.configure.fetch + // string t ("--trust-no"); cstrings ts; @@ -330,12 +336,13 @@ build (size_t argc, const char* argv[]) // bpkg build --configure-only <package-name>/<package-version> // + // bpkg.configure.build + // r.status |= run_bpkg (trace, r.log, wre, "build", "--configure-only", "--yes", tm.name + '/' + tm.version.string ()); - if (!r.status) break; @@ -349,6 +356,8 @@ build (size_t argc, const char* argv[]) // bpkg update <package-name> // + // bpkg.update.update + // r.status |= run_bpkg (trace, r.log, wre, "update", tm.name); if (!r.status) @@ -364,6 +373,8 @@ build (size_t argc, const char* argv[]) // bpkg test <package-name> // + // bpkg.test.test + // r.status |= run_bpkg (trace, r.log, wre, "test", tm.name); if (!r.status) @@ -419,6 +430,8 @@ build (size_t argc, const char* argv[]) // bpkg install <package-name> // + // bpkg.install.install + // r.status |= run_bpkg (trace, r.log, wre, "install", tm.name); if (!r.status) @@ -466,6 +479,8 @@ build (size_t argc, const char* argv[]) // b <config-vars> <env-config-vars> create(<dir>, <modules>) // + // b.test-installed.create + // // Amalgamation directory that will contain configuration subdirectory // for package tests out of source tree build. // @@ -501,6 +516,8 @@ build (size_t argc, const char* argv[]) // b configure(<tests-dir>@<tests-out-dir>) // + // b.test-installed.configure + // dir_path tests_out_dir (out_dir / dir_path ("tests")); r.status |= run_b (trace, r.log, wre, @@ -516,6 +533,8 @@ build (size_t argc, const char* argv[]) // b test(<tests-out-dir>) // + // b.test-installed.test + // r.status |= run_b (trace, r.log, wre, envvars, "test(" + tests_out_dir.representation () + ')'); @@ -535,6 +554,8 @@ build (size_t argc, const char* argv[]) // bpkg uninstall <package-name> // + // bpkg.uninstall.uninstall + // r.status |= run_bpkg (trace, r.log, wre, "uninstall", tm.name); if (!r.status) |