mirror of
https://github.com/RussellChamp/advent-of-code-2024.git
synced 2026-10-27 23:52:32 +00:00
day1 pt1
This commit is contained in:
1 parent
a4a5dbd75f
commit
4ac4aa5100
8 files changed
+1097
-6
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user