1.2 KiB
1.2 KiB
Advent-of-Code 2016
This is a dumbed down version of fspoettel/advent-of-code-rust with some extra features
Project overview
Project structure
src/:bin/:<day>.rs: solution files*.rs: convenience scripts
inputs/: this directory is gitignored, input files go hereexamples/: example files go here; you can push this as test are run in ciutils/: utils files go herelib.rs: contains framework codemain.rs: contains framework code
.env.example: example dotenv file
Cli
cargo scaffold <day>: prepare solution files fordaycargo download <day>: download input file fordaycargo solve <day>: run solution against input fordaycargo all: alias for run; runs solutions for all days
dotenv
set YEAR to whichever year you are solving for and TOKEN to AoC session Cookie