This commit is contained in:
RussellChamp committed 2024-12-02 13:36:52 -05:00
1 parent a4a5dbd75f
commit 4ac4aa5100
8 files changed
+1097 -6

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
default:
# This is my 2024 Advent of Code project
init:
cargo new day$(day)
sed 's/#DAY#/$(day)/g' main.rs.template | sed 's/#TITLE#/$(title)/g' > day$(day)/src/main.rs
touch day$(day)/data.txt
build:
cd ./day$(day) && cargo build
run:
cd ./day$(day) && cargo run
test:
cd ./day$(day) && cargo test