Remove files generated by dotnet test
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
74db9dfe12
commit
137aaae4f8
@ -13,6 +13,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ls
|
- ls
|
||||||
- dotnet test AOC2021.Test
|
- dotnet test AOC2021.Test
|
||||||
|
- rm -r AOC2021/bin
|
||||||
|
- rm -r AOC2021/obj
|
||||||
|
|
||||||
- name: build-aoc-2021
|
- name: build-aoc-2021
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -57,11 +57,8 @@ namespace AOC2021.Test
|
|||||||
private string GetTextInput(string day, string type)
|
private string GetTextInput(string day, string type)
|
||||||
{
|
{
|
||||||
var constructedFileName = $"Input{Path.DirectorySeparatorChar}{day}_{type}.txt";
|
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"))
|
foreach (var file in Directory.GetFiles("Input"))
|
||||||
{
|
{
|
||||||
Console.WriteLine(file.ToLower() + " vs " + constructedFileName.ToLower());
|
|
||||||
if (file.ToLower().Equals(constructedFileName.ToLower()))
|
if (file.ToLower().Equals(constructedFileName.ToLower()))
|
||||||
{
|
{
|
||||||
Console.WriteLine("Loading " + file);
|
Console.WriteLine("Loading " + file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user