From 5094d8dd9708a3e15b33c2e3aec0f176e3872a2c Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Thu, 7 Dec 2023 09:11:15 +0000 Subject: [PATCH] arrgh --- .woodpecker/.build.yml | 2 +- AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Program.fs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 045cc00..e686fb7 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -13,7 +13,7 @@ steps: - nix develop --command dotnet fantomas --check . # TODO: if https://github.com/dotnet/sdk/issues/37295 ever gets fixed, remove the PublishAot=false - "nix develop --command dotnet publish AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/AdventOfCode2023.FSharp.fsproj --configuration Release -p:PublishAot=false -p:SelfContained=true" - - nix develop --command sh -c "$(find . -type f -name AdventOfCode2023.FSharp | grep Release | grep publish) AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Test/samples" + - nix develop --command sh -c "$(find . -type f -name AdventOfCode2023.FSharp | grep Release | grep publish) AdventOfCode2023.FSharp/Test/samples" when: - event: "push" diff --git a/AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Program.fs b/AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Program.fs index d724478..da2fe6e 100644 --- a/AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Program.fs +++ b/AdventOfCode2023.FSharp/AdventOfCode2023.FSharp/Program.fs @@ -28,6 +28,7 @@ module Program = do sw.Restart () let input = Path.Combine (dir.FullName, "day1.txt") |> File.ReadAllText + printfn "%s" input let part1 = Day1.part1 input sw.Stop () Console.WriteLine (part1.ToString ())