Skip to content

Commit 3b98e7d

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. (backport <#4454>) [ note - this backport doesn't do much since `ctest/` was never excluded, but it does keep file structure in sync - Trevor ] (cherry picked from commit 654bf4e)
1 parent a2189ad commit 3b98e7d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ci/style.sh

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

66-
if shellcheck --version ; then
67-
find . -name '*.sh' -print0 | xargs -0 shellcheck
68-
else
69-
echo "shellcheck not found"
70-
exit 1
71-
fi
72-
7366
# Ensure that `sort` output is not locale-dependent
7467
export LC_ALL=C
7568

@@ -91,3 +84,10 @@ for file in libc-test/semver/*.txt; do
9184
exit 1
9285
fi
9386
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)