From f9463ba6c1db6402d46be3e2164379c8751260c6 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 2 Dec 2022 06:28:30 +0100 Subject: [PATCH] Moved 2021 files around --- new.sh => 2021/new.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename new.sh => 2021/new.sh (72%) diff --git a/new.sh b/2021/new.sh similarity index 72% rename from new.sh rename to 2021/new.sh index 76438a6..caaaa52 100755 --- a/new.sh +++ b/2021/new.sh @@ -1,14 +1,14 @@ #!/bin/bash -mkdir -p $1/$2 -cd $1/$2 +mkdir -p $year/$1 +cd $year/$1 cat > go.mod << EOM -module AoC/$1/$2 +module AoC/$year/$1 -require AoC/$1/common v0.0.0 +require AoC/$year/common v0.0.0 require github.com/joho/godotenv v1.4.0 // indirect -replace AoC/$1/common v0.0.0 => ../common +replace AoC/$year/common v0.0.0 => ../common go 1.17 EOM @@ -24,7 +24,7 @@ import ( ) func main() { - challenge := aoc.New($1, $2) + challenge := aoc.New($year, $1) challenge.Test(\`\`, []int{-1, -1})