Added dependencies filter

This commit is contained in:
Bartek Kryza
2022-04-18 12:50:19 +02:00
parent 11dccf1496
commit 4ff563354f
7 changed files with 92 additions and 10 deletions

View File

@@ -415,6 +415,10 @@ template <> struct convert<filter> {
if (node["dependants"])
rhs.dependants = node["dependants"].as<decltype(rhs.dependants)>();
if (node["dependencies"])
rhs.dependencies =
node["dependencies"].as<decltype(rhs.dependencies)>();
if (node["context"])
rhs.context = node["context"].as<decltype(rhs.context)>();

View File

@@ -74,6 +74,8 @@ struct filter {
std::vector<std::string> dependants;
std::vector<std::string> dependencies;
std::vector<std::string> context;
std::vector<std::filesystem::path> paths;