mirror of
https://github.com/RussellChamp/advent-of-code-2021.git
synced 2026-10-27 21:52:32 +00:00
improved template added timer
This commit is contained in:
1 parent
f6f6a849ec
commit
2992d3ba43
4 files changed
+62
-21
No files matched your search
@@ -2,7 +2,7 @@ default: 1
|
||||
# This is my 2021 Advent of Code project
|
||||
|
||||
init:
|
||||
mkdir day-$(day); sed 's/#/$(day)/' main.go.template > day-$(day)/main.go; touch day-$(day)/input.txt
|
||||
mkdir day-$(day); sed 's/#DAY#/$(day)/g' main.go.template | sed 's/#TITLE#/$(title)/g' > day-$(day)/main.go; touch day-$(day)/input.txt
|
||||
|
||||
0 1:
|
||||
cd day-$@; go run .
|
||||
Reference in new issue
Block a user