Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 829 Bytes

File metadata and controls

34 lines (26 loc) · 829 Bytes

Advent of Code

This is my take on the 2020 Advent of Code using the GO language.

Quickstart

  1. Checkout the project, then download dependencies:

    make init
    
  2. Create the basic sources files for a new day with:

    make day 12
    
  3. Run, giving the door to open and the parts to run as parameters:

    make run -- -door 1 -parts 1,2
    

    or

    make build
    ./adventofcode.out -door 1 -parts 1,2
    

    door must be an integer between 1 and 24 (obviously), parts is a list of integers separated by commas.

You can also run unit tests:

make test