From 20840f0214e3698e3f4c24df53113239d91e13e4 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Mon, 20 Jun 2022 02:56:53 +0100 Subject: [PATCH] Add more code to main to work on new functionality --- Program.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index 33d1250..89e0e02 100644 --- a/Program.cs +++ b/Program.cs @@ -74,11 +74,22 @@ class Program { Console.WriteLine(item); } + + List MatchFiles = GetAllFilesMatching(".*r.*",_inputDirectory); + + Log.Information("MatchFiles '.*r.*' File Count: {count}",MatchFiles.Count()); + foreach (string item in MatchFiles) + { + Console.WriteLine(item); + } + + List deps = new List{"pandoc"}; + var dep2 = CheckDeps(deps); + Log.Debug("CheckDeps result: {@dep}",dep2); + return 0; } - - static List GetAllFiles(string directory) { List res = new();