diff --git a/AOC.Common/DayXX.cs.txt b/DayXX.cs.txt similarity index 100% rename from AOC.Common/DayXX.cs.txt rename to DayXX.cs.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..ad709ac --- /dev/null +++ b/README.md @@ -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 + diff --git a/AOC.Common/getday.sh b/getday.sh similarity index 80% rename from AOC.Common/getday.sh rename to getday.sh index 138e34d..95ae7bd 100644 --- a/AOC.Common/getday.sh +++ b/getday.sh @@ -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