mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-18 21:34:21 +01:00
Fix build error
This commit is contained in:
@@ -56,26 +56,6 @@ namespace DockerGenerator
|
||||
}
|
||||
}
|
||||
|
||||
var deps = new HashSet<string>();
|
||||
foreach (var doc in Fragments.Select(f => ParseDocument(f)))
|
||||
{
|
||||
GetDeps(deps, doc);
|
||||
}
|
||||
|
||||
foreach (var fragment in deps.Where(d => Fragments.Add(d)))
|
||||
{
|
||||
var fragmentPath = GetFragmentLocation(fragment);
|
||||
if (!File.Exists(fragmentPath))
|
||||
{
|
||||
Console.WriteLine($"\t{fragment} not found in {fragmentPath}, ignoring...");
|
||||
Fragments.Remove(fragment);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"\t{fragment}");
|
||||
}
|
||||
}
|
||||
|
||||
var services = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||
var volumes = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||
var networks = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||
@@ -110,11 +90,6 @@ namespace DockerGenerator
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
private void GetDeps(HashSet<string> deps, YamlMappingNode doc)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private KeyValuePair<YamlNode, YamlNode>[] Merge(List<KeyValuePair<YamlNode, YamlNode>> services)
|
||||
{
|
||||
return services
|
||||
|
||||
Reference in New Issue
Block a user