aboutsummaryrefslogtreecommitdiff
path: root/aoc-2022-dotnet/Day21
diff options
context:
space:
mode:
authorTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2022-12-28 18:02:46 +0100
committerTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2022-12-28 18:02:46 +0100
commit68381d1c8bdd3d74f0924a47cf72809e40b34708 (patch)
treee113aea127a388cbccddb0cc8c0e1e40d44844b3 /aoc-2022-dotnet/Day21
parent4e6b4839f632cbd843da0f5fe39db00edc16f94c (diff)
downloadgleam_aoc2020-68381d1c8bdd3d74f0924a47cf72809e40b34708.tar.gz
gleam_aoc2020-68381d1c8bdd3d74f0924a47cf72809e40b34708.zip
Remove redundant dependencies
Diffstat (limited to 'aoc-2022-dotnet/Day21')
-rw-r--r--aoc-2022-dotnet/Day21/Day21.fsproj22
-rw-r--r--aoc-2022-dotnet/Day21/Program.fs9
2 files changed, 31 insertions, 0 deletions
diff --git a/aoc-2022-dotnet/Day21/Day21.fsproj b/aoc-2022-dotnet/Day21/Day21.fsproj
new file mode 100644
index 0000000..b9a3919
--- /dev/null
+++ b/aoc-2022-dotnet/Day21/Day21.fsproj
@@ -0,0 +1,22 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <TargetFramework>net7.0</TargetFramework>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Content Include="test.txt">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </Content>
+ <Content Include="input.txt">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </Content>
+ <Compile Include="Program.fs" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\Common\Common.fsproj" />
+ </ItemGroup>
+
+</Project>
diff --git a/aoc-2022-dotnet/Day21/Program.fs b/aoc-2022-dotnet/Day21/Program.fs
new file mode 100644
index 0000000..e5d8920
--- /dev/null
+++ b/aoc-2022-dotnet/Day21/Program.fs
@@ -0,0 +1,9 @@
+module Day21
+
+open System.IO
+open FParsec
+open Common
+
+let test = File.ReadLines("test.txt")
+
+let input = File.ReadLines("input.txt")