Skip to content

wronfim/aoc2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

Each Year

Make sure AOC_YEAR env var has the correct year.

Each Day

To download the input and create test and source files for a particular day, make sure the AOC_SESSION env var has your session cookie value, and then run:

$ mix advent.setup <day>

For instance, to setup day 3, run:

$ mix advent.setup 3

Then, to run the code and output the solution, run:

$ mix advent.run <day> <part> <optional args>

For example, run day 2 part 2 and pass an argument of 19690720 (which will be passed along to the Day02.part2 function):

$ mix advent.run 2 2 19690720

Releases

No releases published

Packages

No packages published

Languages