diff --git a/README.md b/README.md index 770f763..21c157c 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ https://github.com/mcandre/dotfiles # REQUIREMENTS -* POSIX compatible [findutils](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html) +* GNU or BSD [findutils](https://en.wikipedia.org/wiki/Find_(Unix))html) * POSIX compatible [grep](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html) * POSIX compatible [sh](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html) * [ShellCheck](https://www.shellcheck.net/) 0.8.0+ diff --git a/build b/build index c980562..63020e5 100755 --- a/build +++ b/build @@ -18,9 +18,8 @@ lint() { } bashate() { - stank -exInterp zsh . | - grep -v .sample | - xargs -n 1 bashate -i E006 + stank -print0 -exInterp zsh . | + xargs -0 -n 1 bashate -i E006 } funk() { @@ -32,21 +31,18 @@ safety() { } shellcheck() { - stank -exInterp zsh . | - grep -v .sample | - xargs -n 1 shellcheck + stank -print0 -exInterp zsh . | + xargs -0 -n 1 shellcheck } shfmt() { - stank -exInterp zsh . | - grep -v .sample | - xargs -n 1 shfmt -w -i 4 + stank -print0 -exInterp zsh . | + xargs -0 -n 1 shfmt -w -i 4 } slick() { - stank -sh . | - grep -v .sample | - xargs -n 1 slick + stank -print0 -sh . | + xargs -0 -n 1 slick } yamllint() { diff --git a/install b/install index 116c97f..dbbbeb8 100755 --- a/install +++ b/install @@ -3,7 +3,7 @@ unset IFS set -euf go install github.com/mcandre/slick/cmd/slick@v0.0.6 -go install github.com/mcandre/stank/...@v0.0.24 +go install github.com/mcandre/stank/...@v0.0.26 go install mvdan.cc/sh/v3/cmd/shfmt@v3.6.0 go mod tidy