improved template added timer

This commit is contained in:
RussellChamp committed 2021-12-01 14:32:33 -05:00
1 parent f6f6a849ec
commit 2992d3ba43
4 files changed
+62 -21

No files matched your search

+1 -1
View File
@@ -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 .