diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-23 23:56:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-23 23:56:04 +0300 |
commit | e407b571aa418e28d4f06983460d96b2cae9e8b2 (patch) | |
tree | 0f69accb022aafc3b5e904ecb78bb896e3bf66f8 /bbot/worker/worker.cxx | |
parent | 83b5ca6585813d99730e73ecd22b9fa97db42934 (diff) |
Adapt to inventing package_name type
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r-- | bbot/worker/worker.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index d914d01..f0a366c 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -539,7 +539,7 @@ build (size_t argc, const char* argv[]) "--yes", step_args (config_args, step_id::bpkg_configure_build), step_args (env_args, step_id::bpkg_configure_build), - tm.name + '/' + tm.version.string ()); + tm.name.string () + '/' + tm.version.string ()); if (!r.status) break; @@ -561,7 +561,7 @@ build (size_t argc, const char* argv[]) "update", step_args (config_args, step_id::bpkg_update_update), step_args (env_args, step_id::bpkg_update_update), - tm.name); + tm.name.string ()); if (!r.status) break; @@ -583,7 +583,7 @@ build (size_t argc, const char* argv[]) "test", step_args (config_args, step_id::bpkg_test_test), step_args (env_args, step_id::bpkg_test_test), - tm.name); + tm.name.string ()); if (!r.status) break; @@ -625,7 +625,7 @@ build (size_t argc, const char* argv[]) "install", step_args (config_args, step_id::bpkg_install_install), step_args (env_args, step_id::bpkg_install_install), - tm.name); + tm.name.string ()); if (!r.status) break; @@ -637,7 +637,7 @@ build (size_t argc, const char* argv[]) // // The package tests subdirectory path (may not exist). // - dir_path tests_dir (tm.name + "-" + tm.version.string ()); + dir_path tests_dir (tm.name.string () + "-" + tm.version.string ()); tests_dir /= "tests"; // We will consider the tests subdirectory to be a subproject if it @@ -749,7 +749,7 @@ build (size_t argc, const char* argv[]) "uninstall", step_args (config_args, step_id::bpkg_uninstall_uninstall), step_args (env_args, step_id::bpkg_uninstall_uninstall), - tm.name); + tm.name.string ()); if (!r.status) break; @@ -915,8 +915,8 @@ startup () // "unknown" values for the package name and version. // result_manifest rm { - tm.name.empty () ? "unknown" : tm.name, - tm.version.empty () ? bpkg::version ("0") : tm.version, + tm.name.empty () ? bpkg::package_name ("unknown") : tm.name, + tm.version.empty () ? bpkg::version ("0") : tm.version, result_status::abnormal, operation_results {} }; |