Remove files generated by dotnet test
continuous-integration/drone/push Build is failing Details

master
Xander Sigler 3 years ago
parent 74db9dfe12
commit 137aaae4f8

@ -13,6 +13,8 @@ steps:
commands:
- ls
- dotnet test AOC2021.Test
- rm -r AOC2021/bin
- rm -r AOC2021/obj
- name: build-aoc-2021
image: plugins/docker

@ -57,11 +57,8 @@ namespace AOC2021.Test
private string GetTextInput(string day, string type)
{
var constructedFileName = $"Input{Path.DirectorySeparatorChar}{day}_{type}.txt";
Console.WriteLine("ConstructedFileName: " + constructedFileName);
Console.WriteLine("Input File Size: " + Directory.GetFiles("Input").Length);
foreach (var file in Directory.GetFiles("Input"))
{
Console.WriteLine(file.ToLower() + " vs " + constructedFileName.ToLower());
if (file.ToLower().Equals(constructedFileName.ToLower()))
{
Console.WriteLine("Loading " + file);

Loading…
Cancel
Save