summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/utils.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-03-07 14:28:56 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-03-07 15:10:00 +0100
commit3c2185bf17b1c1a631366aa11591da3e3beb51eb (patch)
treedbead789637df095b07214ea5b134ddf66fa6412 /src/other_tools/just_mr/utils.hpp
parent4181505a187a158d36a1845a4a796af5671cc7ab (diff)
downloadjustbuild-3c2185bf17b1c1a631366aa11591da3e3beb51eb.tar.gz
Just-mr: Add --local-launcher option
Also update just-mr section-1 man page
Diffstat (limited to 'src/other_tools/just_mr/utils.hpp')
-rw-r--r--src/other_tools/just_mr/utils.hpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp
index f5cc7de9..bfd81f16 100644
--- a/src/other_tools/just_mr/utils.hpp
+++ b/src/other_tools/just_mr/utils.hpp
@@ -48,18 +48,19 @@ std::vector<std::string> const kTakeOver = {"bindings",
struct JustSubCmdFlags {
bool config;
bool build_root;
+ bool launch;
};
// ordered, so that we have replicability
std::map<std::string, JustSubCmdFlags> const kKnownJustSubcommands{
- {"version", {false /*config*/, false /*build_root*/}},
- {"describe", {true /*config*/, false /*build_root*/}},
- {"analyse", {true /*config*/, true /*build_root*/}},
- {"build", {true /*config*/, true /*build_root*/}},
- {"install", {true /*config*/, true /*build_root*/}},
- {"rebuild", {true /*config*/, true /*build_root*/}},
- {"install-cas", {false /*config*/, true /*build_root*/}},
- {"gc", {false /*config*/, true /*build_root*/}}};
+ {"version", {false /*config*/, false /*build_root*/, false /*launch*/}},
+ {"describe", {true /*config*/, false /*build_root*/, false /*launch*/}},
+ {"analyse", {true /*config*/, true /*build_root*/, false /*launch*/}},
+ {"build", {true /*config*/, true /*build_root*/, true /*launch*/}},
+ {"install", {true /*config*/, true /*build_root*/, true /*launch*/}},
+ {"rebuild", {true /*config*/, true /*build_root*/, true /*launch*/}},
+ {"install-cas", {false /*config*/, true /*build_root*/, false /*launch*/}},
+ {"gc", {false /*config*/, true /*build_root*/, false /*launch*/}}};
nlohmann::json const kDefaultConfigLocations = nlohmann::json::array(
{{{"root", "workspace"}, {"path", "repos.json"}},