File: codespell.sh

package info (click to toggle)
openorienteering-mapper 0.9.5-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 61,788 kB
  • sloc: cpp: 112,248; ansic: 1,448; sh: 408; java: 240; xml: 97; sed: 64; makefile: 28
file content (36 lines) | stat: -rwxr-xr-x 725 bytes parent folder | download | duplicates (2)
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
32
33
34
35
36
#!/bin/sh
set -e

SKIP_LIST=
while read WORD; do SKIP_LIST="${SKIP_LIST:+$SKIP_LIST,}$WORD"; done \
<<END_SKIP_LIST
  3rd-party/cove/potrace
  packaging/linux/Mapper.desktop
  src/gdal/mapper-osmconf.ini
  src/printsupport/qt-5.5.1
  src/printsupport/qt-5.12.4
END_SKIP_LIST

codespell -q 7 \
  'CMakeLists.txt' \
  'INSTALL.md' \
  'README.md' \
  '3rd-party/cove' \
  'android' \
  'doc/api' \
  'doc/licensing' \
  'doc/man' \
  'doc/manual' \
  'doc/tip-of-the-day/tips_en.txt' \
  'examples/src' \
  'packaging' \
  'src' \
  'symbol sets/src' \
  'translations/future_translations.cpp' \
  -S "$SKIP_LIST" \
  -L copyable \
  -L endwhile \
  -L intrest \
  "$@"

git log -n 20 | codespell -q 7 - | sed 's/^/git log: /'