summaryrefslogtreecommitdiff
path: root/contrib/cirrus/shellcheck.sh
blob: 667d30c91bb477be52f5123928df12a9ad0d81df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -eo pipefail

# shellcheck source=./contrib/cirrus/lib.sh
source $(dirname $0)/lib.sh

cd $CIRRUS_WORKING_DIR
shellcheck --color=always --format=tty \
    --shell=bash --external-sources \
    --enable add-default-case,avoid-nullary-conditions,check-unassigned-uppercase \
    --exclude SC2046,SC2034,SC2090,SC2064 \
    --wiki-link-count=0 --severity=warning \
    $SCRIPT_BASE/*.sh hack/get_ci_vm.sh

echo "Shellcheck: PASS"