Solutions for 2022, as well as 2015-2018 and 2019 up to day 11
This commit is contained in:
commit
1895197c49
722 changed files with 375457 additions and 0 deletions
15
add.sh
Executable file
15
add.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/local/bin/zsh
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "Usage: $0 day name"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/home/burnus/.cargo/bin/cargo new --lib day${1}_${2}
|
||||
cp -r ../day00/tests day${1}_${2}/
|
||||
cp ../day00/src/lib.rs day${1}_${2}/src/
|
||||
cd day${1}_${2}
|
||||
aocf checkout $1
|
||||
aocf brief > challenge.txt
|
||||
aocf input > tests/challenge_input
|
||||
/usr/local/bin/nvim src/lib.rs
|
Loading…
Add table
Add a link
Reference in a new issue