From 6f23d7806bbfcff9c22317825d763275f86c4815 Mon Sep 17 00:00:00 2001 From: mhsn Date: Wed, 24 Sep 2025 16:35:08 +0100 Subject: shfmt --- check | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'check') diff --git a/check b/check index 58b91e8..c609690 100755 --- a/check +++ b/check @@ -17,20 +17,23 @@ data_path=$aoc_path/data/$input.txt case $lang in python) - solve=$aoc_path/python.py - ;; + solve=$aoc_path/python.py + ;; +raku) + solve=$aoc_path/raku.raku + ;; rust) - cargo build --target-dir /tmp/aoc_rust --manifest-path $aoc_path/rust/Cargo.toml - solve=/tmp/aoc_rust/debug/aoc_$year-$day - ;; + cargo build --target-dir /tmp/aoc_rust --manifest-path $aoc_path/rust/Cargo.toml + solve=/tmp/aoc_rust/debug/aoc_$year-$day + ;; rustc) - cargo build --release --target-dir /tmp/aoc_rust --manifest-path $aoc_path/rust/Cargo.toml - solve=/tmp/aoc_rust/release/aoc_$year-$day - ;; + cargo build --release --target-dir /tmp/aoc_rust --manifest-path $aoc_path/rust/Cargo.toml + solve=/tmp/aoc_rust/release/aoc_$year-$day + ;; *) - echo "unknown lang: $lang" - exit 1 - ;; + echo "unknown lang: $lang" + exit 1 + ;; esac result=$(cat $data_path | $solve) -- cgit v1.2.3