summaryrefslogtreecommitdiff
path: root/.gitlab/ci/codespell.sh
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 19:26:02 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 19:26:02 +0900
commitd98d160e2cf0df1de98ea62dc778e6072cb671e4 (patch)
tree3bdfa4977f2a57e55131ab45884c803c57f0bf6a /.gitlab/ci/codespell.sh
parent859ca5c4d7396a011a462878179bc173e1283731 (diff)
downloadcmake-master.tar.gz
cmake-master.zip
Release tarball cmake-3.31.6.tar.gz (dist-generated files / local differences from tag)HEADlocal/cmakemaster
Diffstat (limited to '.gitlab/ci/codespell.sh')
-rwxr-xr-x.gitlab/ci/codespell.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/.gitlab/ci/codespell.sh b/.gitlab/ci/codespell.sh
deleted file mode 100755
index fd052bd0aa..0000000000
--- a/.gitlab/ci/codespell.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-set -e
-
-result=0
-echo "Running codespell on source code..."
-codespell || result=1
-
-if [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then
- for COMMIT in $(git rev-list "^$CI_MERGE_REQUEST_DIFF_BASE_SHA" "$CI_COMMIT_SHA"); do
- echo "Running codespell on commit message of $COMMIT..."
- git show --format=%B -s "$COMMIT" | codespell - || result=1
- done
-fi
-
-exit $result