advent-of-code-2022
Version, currently main branch1 version
- main branchlatestDec 5, 2024
github.com/wrejcodes/advent-of-code-2024
Tools and solutions for AoC 2022
Installation
# Add this to your shard.yml
dependencies:
advent-of-code-2022:
github: wrejcodes/advent-of-code-2024
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- wrejcodes
- Target
clifrom cli/cli.cr
Dependencies
This version declares no dependencies.
README
advent-of-code-2024
Tooling & Solutions for Advent of Code 2024 problems
Compile CLI
CLI can be compiled via shards
shards build
This will create an executable file in bin named cli
CLI
CLI currently supports:
- scaffolding of a new solution folder structure with base solution file
- running a solution against a given input file located within the solution folder
You can create a new solution folder by running the following command in the root directory
bin/cli new -f <folder_name>
You can run a solution against the sample input by running the following command in the root directory
bin/cli run -f <folder_name>
You can also run a solution against an arbitrary input file in solutions/<folder_name>/in/<input_name>.in with the following command in the root directory
bin/cli run -f <folder_name> -i <input_name>
You can also run a solution with debug enabled if the solution has additional debugging output (ex: solution 9)
bin/cli run -f 9 -i larger -d
Supported Systems
Currently MacOS (although not tested after some tweaks for windows) and Git BASH on Windows
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Dec 5, 2024
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/wrejcodes/advent-of-code-2024
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1