summaryrefslogtreecommitdiff
path: root/contrib/ci/jobs/0-codespell/job.sh
blob: 1bd43d50fd33675519d40fb395c6049752074d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -exuo pipefail

job_dir=$(dirname "${BASH_SOURCE[0]}")

skip=$(cat <<EOF
ABOUT-NLS
configure
config.guess
configure~
*/debian/*
*/debian/.debhelper/*
*/doc/prebuilt/*
*/.git/*
*/.gradle/*
*/contrib/ci/*
*/contrib/wallet-core/*
*/frontend/*
*/build/*
*/*.xsd
*/*.xml
*/ebics/src/test/kotlin/EbicsOrderUtilTest.kt
*/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022CodeSets.kt
*/common/src/main/kotlin/TalerErrorCode.kt
EOF
);

echo Current directory: `pwd`

codespell -I "${job_dir}"/dictionary.txt -S ${skip//$'\n'/,}