glib/.gitlab-ci/run-shellcheck.sh
Frederic Martinsons 8f45fbdadd add 2 new stages: sh-check (which run shellcheck) and py-check (which run black and flake8)
The debian docker have been modified to install these tools.

Closes #2046

Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-15 17:34:21 +01:00

7 lines
159 B
Bash
Executable File

#!/bin/bash
set -e
# Ignoring third-party directories that we don't want to parse
shellcheck $(git ls-files '*.sh' | grep -Ev "glib/libcharset|glib/dirent")