Advent of Code 2024
- Each day is a separate executable package.
- An
Input
file (no ext) is expected alongisdemain.swift
in theSources
directory. (TheInput
file 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 DayN
where N is the day of the month. - OR
swift run -c release DayN
in the day's dir.
- at the root dir, run
- in Xcode:
- at the root dir, run
open DayN/package.swift
, thencmd-R
in Xcode.
- at the root dir, run
- in the terminal: