blob: bb02febbec5e9e37eed483beb373380e95bee104 (
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
31
|
#!/bin/bash
set -exuo pipefail
job_dir=$(dirname "${BASH_SOURCE[0]}")
skip=$(cat <<EOF
ABOUT-NLS
configure
config.guess
configure~
*/debian/upstream/*
*/debian/.debhelper/*
*/doc/prebuilt/*
*/testing/test_sync_api_home/*
*build-aux*
*.cache/*
*/.git/*
*/contrib/ci/*
depcomp
*libtool*
ltmain.sh
*.log
*/m4/*
*.m4
*.rpath
EOF
);
echo Current directory: `pwd`
codespell -I "${job_dir}"/dictionary.txt -S ${skip//$'\n'/,}
|