Advent of Code 2024
- Each day is a separate executable package.
- An
Inputfile (no ext) is expected alongisdemain.swiftin theSourcesdirectory. (TheInputfile is not checked in to git, see AOC best practices as to why) - To run:
- in the terminal:
- at the root dir, run
swift run --package-path DayN -c release DayNwhere N is the day of the month. - OR
swift run -c release DayNin the day's dir.
- at the root dir, run
- in Xcode:
- at the root dir, run
open DayN/package.swift, thencmd-Rin Xcode.
- at the root dir, run
- in the terminal: