chore: setup project for multi-cradle hls

We might not need all files added to components, but we might as well
since it gives us the possibility to open any file in our editors and
LSP will automatically figure out what component it belongs to.
This commit is contained in:
Jacob Jonsson 2026-01-07 23:32:35 +01:00
parent 12ef150209
commit 67ab70182b
No known key found for this signature in database
GPG key ID: E82A449642FD9CED
3 changed files with 69 additions and 20 deletions

20
hie.yaml Normal file
View file

@ -0,0 +1,20 @@
cradle:
stack:
- path: "./app/Day1.hs"
component: "aoc25:exe:day1"
- path: "./app/Day2.hs"
component: "aoc25:exe:day2"
- path: "./app/Day3.hs"
component: "aoc25:exe:day3"
- path: "./app/Day4.hs"
component: "aoc25:exe:day4"
- path: "./app/Day5.hs"
component: "aoc25:exe:day5"
- path: "./app/Day6.hs"
component: "aoc25:exe:day6"
- path: "./app/Day7.hs"
component: "aoc25:exe:day7"
- path: "./app/Day8.hs"
component: "aoc25:exe:day8"
- path: "./app/Day9.hs"
component: "aoc25:exe:day9"