From 137aaae4f8c0585d86929564ecd483fb5e6b89e6 Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Wed, 26 Jan 2022 21:56:01 -0800 Subject: [PATCH] Remove files generated by dotnet test --- .drone.yml | 2 ++ AOC2021.Test/AOCTester.cs | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d47a933..bc2127e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/AOC2021.Test/AOCTester.cs b/AOC2021.Test/AOCTester.cs index cae7272..0d8daee 100644 --- a/AOC2021.Test/AOCTester.cs +++ b/AOC2021.Test/AOCTester.cs @@ -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);