summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-11-25 15:08:15 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-27 10:58:41 +0100
commit1fce1ab9e2053a79b7fb7ae4b234477d0f9f9f04 (patch)
treedfa8cfc86a4bcd6139c5aa18d2fa4f2712fa5dc7 /src/other_tools/just_mr
parent3a01cc4df91286fa0a3c762a5fa500aa5ed261a5 (diff)
downloadjustbuild-1fce1ab9e2053a79b7fb7ae4b234477d0f9f9f04.tar.gz
JustMR: Setup computed repositories
Diffstat (limited to 'src/other_tools/just_mr')
-rw-r--r--src/other_tools/just_mr/utils.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp
index 9b31d888..753e4b36 100644
--- a/src/other_tools/just_mr/utils.hpp
+++ b/src/other_tools/just_mr/utils.hpp
@@ -155,7 +155,8 @@ enum class CheckoutType : std::uint8_t {
ForeignFile,
File,
Distdir,
- GitTree
+ GitTree,
+ Computed
};
/// \brief Checkout type map
@@ -166,7 +167,8 @@ std::unordered_map<std::string, CheckoutType> const kCheckoutTypeMap = {
{"foreign file", CheckoutType::ForeignFile},
{"file", CheckoutType::File},
{"distdir", CheckoutType::Distdir},
- {"git tree", CheckoutType::GitTree}};
+ {"git tree", CheckoutType::GitTree},
+ {"computed", CheckoutType::Computed}};
namespace JustMR::Utils {
/// \brief Recursive part of the ResolveRepo function.