summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-04-23 11:06:50 +0100
committermhsn <mail@mhsn.net>2025-04-23 11:06:50 +0100
commit271b499ca5c65f1329838d6f999532c13d32ee3a (patch)
treeaa57a080bb31e97cec41a9368352e0f4cf0b7f96 /bench
parent8065c8eb1f00dc9abddd7fd2e1cf1ed3876f4d44 (diff)
downloadaoc-271b499ca5c65f1329838d6f999532c13d32ee3a.tar.gz
aoc-271b499ca5c65f1329838d6f999532c13d32ee3a.zip
run shfmt
Diffstat (limited to 'bench')
-rwxr-xr-xbench3
1 files changed, 1 insertions, 2 deletions
diff --git a/bench b/bench
index bafd8cf..75cce29 100755
--- a/bench
+++ b/bench
@@ -13,10 +13,9 @@ aoc_path=$script_path/$1/$2
data_path="$aoc_path/data/$4.txt"
# Check it is correct
-$script_path/check $1 $2 $3 $4 > /dev/null
+$script_path/check $1 $2 $3 $4 >/dev/null
[ ! $? ] && echo "Incorrect solution" && exit 1
-
if [ $lang = "python" ]; then
exec="python $aoc_path/python/main.py"
elif [ $lang = "rust" ]; then