From cd78e65ebb1dc1b60678f0109424022bea86c5e6 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 19 Dec 2018 15:39:55 +1300 Subject: Remove diagnostic messages from check/lint scripts So that `make -s` works nicely. --- lint/bash.sh | 1 - lint/bin.sh | 4 ---- lint/games.sh | 1 - lint/ksh.sh | 1 - lint/sh.sh | 1 - lint/urxvt.sh | 1 - lint/vim.sh | 1 - lint/xinit.sh | 1 - 8 files changed, 11 deletions(-) (limited to 'lint') diff --git a/lint/bash.sh b/lint/bash.sh index 6457da35..13754a3f 100644 --- a/lint/bash.sh +++ b/lint/bash.sh @@ -6,4 +6,3 @@ set \ bash/bashrc \ bash/bashrc.d/*.bash shellcheck -e SC1090 -s bash -- "$@" || exit -printf 'GNU Bash dotfiles linted successfully.\n' diff --git a/lint/bin.sh b/lint/bin.sh index c50a2492..a98c6a73 100644 --- a/lint/bin.sh +++ b/lint/bin.sh @@ -4,7 +4,6 @@ for bin in bin/*.sh ; do set -- "$@" "${bin%.sh}" done shellcheck -e SC1090 -- "$@" || exit -printf 'POSIX shell binscripts linted successfully.\n' # GNU Bash if command -v bash >/dev/null 2>&1 ; then @@ -13,7 +12,4 @@ if command -v bash >/dev/null 2>&1 ; then set -- "$@" "${bin%.bash}" done shellcheck -e SC1090 -- "$@" || exit - printf 'GNU Bash binscripts linted successfully.\n' -else - printf 'bash(1) not found, skipping GNU Bash lint.\n' fi diff --git a/lint/games.sh b/lint/games.sh index 184728b6..e9690d8d 100644 --- a/lint/games.sh +++ b/lint/games.sh @@ -4,4 +4,3 @@ for game in games/*.sh ; do set -- "$@" "${game%.sh}" done shellcheck -e SC1090 -- "$@" || exit -printf 'POSIX shell games linted successfully.\n' diff --git a/lint/ksh.sh b/lint/ksh.sh index 102e0e54..117909b3 100644 --- a/lint/ksh.sh +++ b/lint/ksh.sh @@ -3,4 +3,3 @@ set \ ksh/kshrc.d/*.ksh shellcheck -e SC1090 -s ksh -- "$@" || exit shellcheck -e SC1090 -s sh -- ksh/shrc.d/ksh.sh || exit -printf 'Korn shell dotfiles linted successfully.\n' diff --git a/lint/sh.sh b/lint/sh.sh index c1c972c8..b0d28e5d 100644 --- a/lint/sh.sh +++ b/lint/sh.sh @@ -5,4 +5,3 @@ set \ sh/shrc \ sh/shrc.d/*.sh shellcheck -e SC1090 -s sh -- "$@" || exit -printf 'POSIX shell dotfiles linted successfully.\n' diff --git a/lint/urxvt.sh b/lint/urxvt.sh index 477157f7..6e5fb503 100644 --- a/lint/urxvt.sh +++ b/lint/urxvt.sh @@ -3,4 +3,3 @@ for pl in urxvt/ext/*.pl ; do set -- "$@" "${pl%.pl}" done perlcritic --brutal -- "${pl%.pl}" -printf 'URxvt Perl extensions linted successfully.\n' diff --git a/lint/vim.sh b/lint/vim.sh index 43eaf4c8..bd8e73af 100644 --- a/lint/vim.sh +++ b/lint/vim.sh @@ -17,4 +17,3 @@ done # Run check vint -s -- "$@" || exit -printf 'Vim configuration linted successfully.\n' diff --git a/lint/xinit.sh b/lint/xinit.sh index b2718874..0fab84d2 100644 --- a/lint/xinit.sh +++ b/lint/xinit.sh @@ -2,4 +2,3 @@ set \ X/xinitrc \ X/xinitrc.d/*.sh shellcheck -e SC1090 -s sh -- "$@" -printf 'Xinit startup scripts linted successfully.\n' -- cgit v1.2.3