From 65944566d8d3ae81d3dc3acb8c82944f5698ca5d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 15 Feb 2023 17:12:15 +0100 Subject: structure cleanup: move remote operations of GitRepo to other_tools... ...in order to not include unwanted dependencies in just proper. The new class extends the GitRepo class used for just's Git tree operations and gets used in all of just-mr's async maps. --- src/other_tools/git_operations/TARGETS | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/other_tools/git_operations/TARGETS') diff --git a/src/other_tools/git_operations/TARGETS b/src/other_tools/git_operations/TARGETS index ac41c117..28e514f0 100644 --- a/src/other_tools/git_operations/TARGETS +++ b/src/other_tools/git_operations/TARGETS @@ -16,8 +16,21 @@ , "stage": ["src", "other_tools", "git_operations"] , "private-deps": [ ["src/buildtool/file_system", "file_system_manager"] - , ["src/buildtool/file_system", "git_repo"] + , "git_repo_remote" , ["src/buildtool/logging", "logging"] ] } +, "git_repo_remote": + { "type": ["@", "rules", "CC", "library"] + , "name": ["git_repo_remote"] + , "hdrs": ["git_repo_remote.hpp"] + , "srcs": ["git_repo_remote.cpp"] + , "deps": [["src/buildtool/file_system", "git_repo"]] + , "stage": ["src", "other_tools", "git_operations"] + , "private-deps": + [ ["src/buildtool/logging", "logging"] + , ["@", "fmt", "", "fmt"] + , ["", "libgit2"] + ] + } } -- cgit v1.2.3