[Rust] Add year-all recipe

This commit is contained in:
Felix Bargfeldt 2023-12-26 11:34:53 +01:00
parent 8c61ad767b
commit 36993690a9
Signed by: Defelo
GPG key ID: 2A05272471204DD3

View file

@ -3,6 +3,7 @@ alias r := run
alias t := test
alias b := bench
alias y := year
alias ya := year-all
alias ty := test-year
alias by := bench-year
alias ta := test-all
@ -43,6 +44,9 @@ test-all *args:
bench-all *args:
cargo bench --bin '*' {{args}}
year-all *args:
@set -e; for year in *; do [[ -f $year/main.rs ]] || continue; just year $year {{args}}; done
build year day:
cargo build --release --bin {{year}}_{{day}}