mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
driver.sh: Run through shellcheck
This commit is contained in:
parent
a755bc5cf6
commit
87e24db5ef
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ FISH_PATH=$1
|
||||||
BENCHMARKS_DIR=$(dirname "$0")/benchmarks
|
BENCHMARKS_DIR=$(dirname "$0")/benchmarks
|
||||||
|
|
||||||
for benchmark in "$BENCHMARKS_DIR"/*; do
|
for benchmark in "$BENCHMARKS_DIR"/*; do
|
||||||
echo $(basename "$benchmark")
|
basename "$benchmark"
|
||||||
${FISH_PATH} --print-rusage-self $benchmark > /dev/null
|
${FISH_PATH} --print-rusage-self "$benchmark" > /dev/null
|
||||||
if command -v hyperfine >/dev/null 2>&1; then
|
if command -v hyperfine >/dev/null 2>&1; then
|
||||||
hyperfine "${FISH_PATH} $benchmark > /dev/null"
|
hyperfine "${FISH_PATH} $benchmark > /dev/null"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue