Monorepo for all AoC solutions
YEAR=2018
mkdir -p ${YEAR}
sed s/YEAR/${YEAR}/g main.tpl > ${YEAR}/main.go
for DAY in {01..25}; do
mkdir -p ${YEAR}/${DAY}
sed s/DAY/day${DAY}/g solve.tpl > ${YEAR}/${DAY}/solve.go
done
git add -N ${YEAR}
YEAR=2018
go build -o adventofcode-${YEAR} ./${YEAR}
YEAR=2018
DAY=01
./adventofcode-${YEAR} day${DAY} -input ${YEAR}/${DAY}/input.txt