arrgh
This commit is contained in:
@@ -13,7 +13,7 @@ steps:
|
|||||||
- nix develop --command dotnet fantomas --check .
|
- nix develop --command dotnet fantomas --check .
|
||||||
# TODO: if https://github.com/dotnet/sdk/issues/37295 ever gets fixed, remove the PublishAot=false
|
# 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 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:
|
when:
|
||||||
- event: "push"
|
- event: "push"
|
||||||
|
@@ -28,6 +28,7 @@ module Program =
|
|||||||
do
|
do
|
||||||
sw.Restart ()
|
sw.Restart ()
|
||||||
let input = Path.Combine (dir.FullName, "day1.txt") |> File.ReadAllText
|
let input = Path.Combine (dir.FullName, "day1.txt") |> File.ReadAllText
|
||||||
|
printfn "%s" input
|
||||||
let part1 = Day1.part1 input
|
let part1 = Day1.part1 input
|
||||||
sw.Stop ()
|
sw.Stop ()
|
||||||
Console.WriteLine (part1.ToString ())
|
Console.WriteLine (part1.ToString ())
|
||||||
|
Reference in New Issue
Block a user