Skip to content

bombsimon/advent-of-code-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Advent of Code 2023

Not much changing here, Advent of Code 2024! Sticking to Rust this year as well.

Input

As per the official FAQ and a lot of discussions on Reddit I'm not committing any input data this year. So to run this code you'll have to download the input first.

Test

# Test all days so far
โ€บ cargo test

Execute

# Run a specific day
โ€บ cargo run <day: i32>

Setup new day

This is very specific for this repository, but the script new-day will check the solutions module to see how many days have been solved and then scaffold an empty day and update the match arms to include this.

If the environment variable AOC_TOKEN is set to a valid session cookie value the input for that day will be downloaded as well.