day02 solutions

This commit is contained in:
RussellChamp committed 2022-12-05 10:51:59 -05:00
1 parent 17831e00f1
commit 24fae37154
7 files changed
+152

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
default:
# This is my 2022 Advent of Code project
init:
mkdir day$(day)
sed 's/#DAY#/$(day)/g' solve.py.template | sed 's/#TITLE#/$(title)/g' > day$(day)/solve.py
sed 's/#DAY#/$(day)/g' tests.py.template | sed 's/#TITLE#/$(title)/g' > day$(day)/tests.py
touch day$(day)/data.txt
run:
python day$(day)/solve.py
test:
python day$(day)/tests.py