diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 10:50:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 10:50:57 +0200 |
commit | 78d21f22eb72a96d9e993e358743ed72349e4235 (patch) | |
tree | 7cbc4c200f23b0fba3d92f535f57463e0539ae63 /build2/dist/operation.cxx | |
parent | f9d759160eef1ca870edcbb9b87caa23f0c93a43 (diff) |
Fix few issues with structured result output
Diffstat (limited to 'build2/dist/operation.cxx')
-rw-r--r-- | build2/dist/operation.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 7644ba9..a378b5d 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -133,18 +133,21 @@ namespace build2 const operation_info* poif ( rs->operations[oif->pre (params, dist_id, loc)]); set_current_oif (*poif, oif); - match (params, action (dist_id, poif->id, oif->id), ts); + action a (dist_id, poif->id, oif->id); + match (params, a, ts, true /* quiet */); } set_current_oif (*oif); - match (params, action (dist_id, oif->id), ts); + action a (dist_id, oif->id); + match (params, a, ts, true /* quiet */); if (oif->post != nullptr) { const operation_info* poif ( rs->operations[oif->post (params, dist_id)]); set_current_oif (*poif, oif); - match (params, action (dist_id, poif->id, oif->id), ts); + action a (dist_id, poif->id, oif->id); + match (params, a, ts, true /* quiet */); } } } @@ -265,7 +268,7 @@ namespace build2 action a (perform_id, update_id); - mo_perform.match (params, a, files); + mo_perform.match (params, a, files, true /* quiet */); mo_perform.execute (params, a, files, true /* quiet */); if (mo_perform.operation_post != nullptr) |