aoc24/README.md

32 lines
922 B
Markdown
Raw Normal View History

2024-12-21 10:56:07 -08:00
# Advent of Code - 2024
These is a repo for my solutions to the Advent of Code 2024 puzzles. I will be using [Rust](https://www.rust-lang.org/) for all of my solutions.
## Running the solutions
To run the solutions, you will need to have Rust installed. You can install Rust by following the instructions [here](https://www.rust-lang.org/tools/install).
Once you have Rust installed, you can run the solutions by running the following command:
```sh
2024-12-21 10:58:50 -08:00
cargo test
2024-12-21 10:56:07 -08:00
```
2024-12-21 10:58:50 -08:00
This will run all of the tests for the solutions. You can also run the solutions for a specific day by running the following command:
2024-12-21 10:56:07 -08:00
```sh
2024-12-21 10:58:50 -08:00
cargo test day_01
2024-12-21 10:56:07 -08:00
```
### Nix
I maintain a Nix Flake that you can use to help setup or develop the solutions.
You can use the flake by running the following command:
```sh
nix develop
2024-12-21 10:58:50 -08:00
```
## License
These solutions are licensed under the Unlicense. See the [LICENSE](LICENSE) file for more information.
2024-12-21 10:56:07 -08:00
```