shellcheck maxdepth 3

shellcheck against all project files, maxdepth of 3 directories
This commit is contained in:
Léo Andrès
2019-02-07 20:52:12 +01:00
committed by Tres Finocchiaro
parent e6bcf13cd3
commit 7a0b874d17
2 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ if [ "$TYPE" = 'style' ]; then
# once it's fixed, it should be enabled again
# shellcheck disable=SC2185
# shellcheck disable=SC2046
shellcheck $(find -O3 "$TRAVIS_BUILD_DIR/.travis/" "$TRAVIS_BUILD_DIR/cmake/" -type f -name '*.sh' -o -name "*.sh.in")
shellcheck $(find -O3 . -maxdepth 3 -type f -name '*.sh' -o -name "*.sh.in")
shellcheck doc/bash-completion/lmms
else

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env bash
# lmms(1) completion -*- shell-script -*-
# use shellcheck: "shellcheck -e bash <filename>"