Skip to content

Commit 654bf4e

Browse files
committed
ci: Don't exclude ctest/
There are no longer any shell files in `ctest/`, so this FIXME can be resolved. Also move this to the end so missing shellcheck doesn't exit before the sort checks.
1 parent 1ca8b36 commit 654bf4e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

ci/style.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ rm "$tmpfile"
6363
# individual file.
6464
cargo fmt
6565

66-
if shellcheck --version ; then
67-
# FIXME(ctest): update ctest scripts so we don't need to exclude them
68-
find . -name '*.sh' -not -path './ctest/*' -print0 | xargs -0 shellcheck
69-
else
70-
echo "shellcheck not found"
71-
exit 1
72-
fi
73-
7466
# Ensure that `sort` output is not locale-dependent
7567
export LC_ALL=C
7668

@@ -92,3 +84,10 @@ for file in libc-test/semver/*.txt; do
9284
exit 1
9385
fi
9486
done
87+
88+
if shellcheck --version ; then
89+
find . -name '*.sh' -print0 | xargs -0 shellcheck
90+
else
91+
echo "shellcheck not found"
92+
exit 1
93+
fi

0 commit comments

Comments
 (0)