Skip to content

dimitrisnl/advent-of-code-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of code for elixir

work in progress, but you can fork and use it as you like. I wanted something ready for me to use for the first day of AoC. I'll keep improving it as I go.

Prepare the environment

Install deps

mix deps.get

Create the env file

touch .env

Add the session cookie in the .env file

echo "AOC_SESSION=your_session_cookie" > .env

Run the tasks

Fetch the input, description and setup the solution

# mix run download YEAR DAY
mix setup 2024 1

Run the solution

# mix run solve YEAR DAY PART
mix solve 2024 1 1

Run and submit the solution

mix solve 2024 1 1 --submit # or -s

Contributing

Yes, please

About

An advent of code boilerplate using Elixir

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages