mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-19 00:24:27 +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 services = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||||
var volumes = new List<KeyValuePair<YamlNode, YamlNode>>();
|
var volumes = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||||
var networks = new List<KeyValuePair<YamlNode, YamlNode>>();
|
var networks = new List<KeyValuePair<YamlNode, YamlNode>>();
|
||||||
@@ -110,11 +90,6 @@ namespace DockerGenerator
|
|||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GetDeps(HashSet<string> deps, YamlMappingNode doc)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
private KeyValuePair<YamlNode, YamlNode>[] Merge(List<KeyValuePair<YamlNode, YamlNode>> services)
|
private KeyValuePair<YamlNode, YamlNode>[] Merge(List<KeyValuePair<YamlNode, YamlNode>> services)
|
||||||
{
|
{
|
||||||
return services
|
return services
|
||||||
|
|||||||
Reference in New Issue
Block a user