Debian Codegraph @

tests/sh/run

raw
1 #!/bin/bash
2
3 set -e -u
4 cd "$(dirname "$0")"
5
6 if command -v shellcheck >/dev/null; then
7 shellcheck --norc ../../apertium/apertium
8 shellcheck --norc ../../apertium/apertium-gen-deformat
9 shellcheck --norc ../../apertium/apertium-gen-reformat
10 shellcheck --norc ../../apertium/apertium-unformat
11 shellcheck --norc ../../apertium/apertium-utils-fixlatex
12 shellcheck --norc ../../apertium/apertium-validate-acx
13 shellcheck --norc ../../apertium/apertium-validate-dictionary
14 shellcheck --norc ../../apertium/apertium-validate-interchunk
15 shellcheck --norc ../../apertium/apertium-validate-modes
16 shellcheck --norc ../../apertium/apertium-validate-postchunk
17 shellcheck --norc ../../apertium/apertium-validate-tagger
18 shellcheck --norc ../../apertium/apertium-validate-transfer
19 else
20 echo "shellcheck not installed, skipping shellcheck tests" >&2
21 exit 77
22 fi