Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@ let allChallenges: [any AdventDay] = [
]
```

Then implement part 1 and 2. The `AdventOfCode.swift` file controls which challenge
Then implement part 1 and 2. The `AdventOfCode.swift` file controls which day's challenge
is run with `swift run`. Add your new type to its `allChallenges` array. By default
it runs the most recent challenge.

The `AdventOfCode.swift` file controls which day's challenge is run
with `swift run`. By default that runs the most recent challenge in the package.

To supply command line arguments use `swift run AdventOfCode`. For example,
`swift run -c release AdventOfCode --benchmark 3` builds the binary with full
optimizations, and benchmarks the challenge for day 3.
Expand Down