mirror of
https://github.com/RussellChamp/advent-of-code-2022.git
synced 2026-10-27 21:52:30 +00:00
day02 solutions
This commit is contained in:
1 parent
17831e00f1
commit
24fae37154
7 files changed
+152
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user