| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is my codebase for the 2023 Advent of Code. This is a simple Rust workflows project separating each day of the event into it's own workspace. There are no binaries in this project, so running cargo run will not work. Instead, each day's workspace is a library and has unit tests to check their answer. Once I have successfully completed the puzzle, I update the corresponding unit test's assertion to be correct and then commit the code.
Run all tests:
cargo test --releaseRun a specific days tests:
cargo test -p day_09 --releasesupport:
cargo solve all // solves EVERYTHING cargo solve 5 // both parts of day 5 (assumes current year) cargo solve 5.1 // part 1 of day 5 (assumes current year) cargo solve 2023.5 // fifth day of 2023 (both parts) cargo solve 2023.5.2 // part 2 of the fifth day of 2023 cargo solve 2022 // solves all puzzles in 2022 year cargo scaffold 7 // scaffolds the files needed for day 7 (assumes current year) cargo scaffold 2023.7 // scaffolds the files needed for day 7 of 2023
stretch goals:
| Back | FazBrowse Home | New Git URL |