add readme
This commit is contained in:
parent
ac98b2ef88
commit
ac701960f8
|
@ -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
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue