From 65844a7ff88870f1336ccc10ceaba3b4c3bc2a25 Mon Sep 17 00:00:00 2001 From: Tomasz Chojnacki Date: Thu, 8 Dec 2022 19:45:35 +0100 Subject: Setup project template and generate day 9 files --- .../AoC.Day.Template/.template.config/template.json | 15 +++++++++++++++ .../AoC.Day.Template/AoC.Day.Template.fsproj | 18 ++++++++++++++++++ aoc-2022-dotnet/AoC.Day.Template/Program.fs | 7 +++++++ aoc-2022-dotnet/AoC.Day.Template/input.txt | 1 + aoc-2022-dotnet/AoC.Day.Template/test.txt | 1 + 5 files changed, 42 insertions(+) create mode 100644 aoc-2022-dotnet/AoC.Day.Template/.template.config/template.json create mode 100644 aoc-2022-dotnet/AoC.Day.Template/AoC.Day.Template.fsproj create mode 100644 aoc-2022-dotnet/AoC.Day.Template/Program.fs create mode 100644 aoc-2022-dotnet/AoC.Day.Template/input.txt create mode 100644 aoc-2022-dotnet/AoC.Day.Template/test.txt (limited to 'aoc-2022-dotnet/AoC.Day.Template') diff --git a/aoc-2022-dotnet/AoC.Day.Template/.template.config/template.json b/aoc-2022-dotnet/AoC.Day.Template/.template.config/template.json new file mode 100644 index 0000000..14fe80c --- /dev/null +++ b/aoc-2022-dotnet/AoC.Day.Template/.template.config/template.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Tomasz Chojnacki", + "classifications": ["Common", "Console"], + "defaultName": "Day00", + "identity": "AoC.Day.Template", + "name": "AoC Day in F#", + "shortName": "aocdayinfsharp", + "sourceName": "AoC.Day.Template", + "tags": { + "language": "F#", + "type": "project" + }, + "description": "Project containing solution to a single day of Advent of Code in F#." +} diff --git a/aoc-2022-dotnet/AoC.Day.Template/AoC.Day.Template.fsproj b/aoc-2022-dotnet/AoC.Day.Template/AoC.Day.Template.fsproj new file mode 100644 index 0000000..e337a41 --- /dev/null +++ b/aoc-2022-dotnet/AoC.Day.Template/AoC.Day.Template.fsproj @@ -0,0 +1,18 @@ + + + + Exe + net7.0 + + + + + Always + + + Always + + + + + diff --git a/aoc-2022-dotnet/AoC.Day.Template/Program.fs b/aoc-2022-dotnet/AoC.Day.Template/Program.fs new file mode 100644 index 0000000..dbbfcd3 --- /dev/null +++ b/aoc-2022-dotnet/AoC.Day.Template/Program.fs @@ -0,0 +1,7 @@ +module AoC.Day.Template + +open System.IO + +let test = File.ReadLines("test.txt") + +let input = File.ReadLines("input.txt") diff --git a/aoc-2022-dotnet/AoC.Day.Template/input.txt b/aoc-2022-dotnet/AoC.Day.Template/input.txt new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/aoc-2022-dotnet/AoC.Day.Template/input.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/aoc-2022-dotnet/AoC.Day.Template/test.txt b/aoc-2022-dotnet/AoC.Day.Template/test.txt new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/aoc-2022-dotnet/AoC.Day.Template/test.txt @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3