ben
/
aoc
1
0
Fork 0

add readme

This commit is contained in:
Ben Harris 2022-10-27 12:01:38 -04:00
parent ac98b2ef88
commit ac701960f8
3 changed files with 12 additions and 2 deletions

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# advent of code
this is a unified solution for all my c# advent stuff.
imported from my separate repos:
* https://tildegit.org/ben/aoc2019
* https://tildegit.org/ben/aoc2020
* https://tildegit.org/ben/aoc2021

View File

@ -22,9 +22,9 @@ fi
curl -s https://adventofcode.com/"$year"/day/"$day"/input \
--cookie "session=$session" \
-o "$(printf "input%s/day%02d.in" "$year" "$day")"
-o "$(printf "AOC%s/input%s/day%02d.in" "$year" "$year" "$day")"
class=$(printf "Day%02d.cs" "$day")
class=$(printf "AOC%s/Day%02d.cs" "$year" "$day")
longDay=$(printf "%02d" "$day")
if [ ! -f "$class" ]; then