Code that powers aoc.ryoung.info
- To run your code for a particular day:
$ mix solve -y <year> -d <day> - Or just part 1:
$ mix solve -y <year> -d <day> -p 1 - Or just part 2:
$ mix solve -y <year> -d <day> -p 2
- To generate a new year:
$ mix gen_year <year> - To generate a single new day:
$ mix gen_day -y <year> -d <day>These tasks will generate a solution file, a test file, and a file to paste the input.
$ mix test runs all tests
A push to the main branch will trigger a Github Action workflow that will run the tests, and if successful, will deploy to heroku. Upon a successful deploy, you may access the site at aoc.ryoung.info
