summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/utils.hpp
diff options
context:
space:
mode:
authorSascha Roloff <sascha.roloff@huawei.com>2022-12-23 15:03:04 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-01-20 15:47:43 +0100
commit5129bc284cf2372bfbc87b00d3b9bd1117734c43 (patch)
tree0a9b36478fab08ff55dd854e45f6e262931e2e1b /src/other_tools/just_mr/utils.hpp
parent0db0064273920c835342dd168f8213b6a567e8c9 (diff)
downloadjustbuild-5129bc284cf2372bfbc87b00d3b9bd1117734c43.tar.gz
Add gc subcommand
Diffstat (limited to 'src/other_tools/just_mr/utils.hpp')
-rw-r--r--src/other_tools/just_mr/utils.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp
index dffed7c1..16274657 100644
--- a/src/other_tools/just_mr/utils.hpp
+++ b/src/other_tools/just_mr/utils.hpp
@@ -57,7 +57,8 @@ std::map<std::string, JustSubCmdFlags> const kKnownJustSubcommands{
{"build", {true, true}},
{"install", {true, true}},
{"rebuild", {true, true}},
- {"install-cas", {false, true}}};
+ {"install-cas", {false, true}},
+ {"gc", {false, true}}};
nlohmann::json const kDefaultConfigLocations = nlohmann::json::array(
{{{"root", "workspace"}, {"path", "repos.json"}},
@@ -172,4 +173,4 @@ auto ResolveRepo(ExpressionPtr const& repo_desc,
} // namespace JustMR
-#endif // INCLUDED_SRC_OTHER_TOOLS_JUST_MR_UTILS_HPP \ No newline at end of file
+#endif // INCLUDED_SRC_OTHER_TOOLS_JUST_MR_UTILS_HPP