From c21aea00ad2df39b468dd1bd5771f2a88c2355a7 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Fri, 12 Jun 2015 18:14:19 -0700 Subject: [PATCH] filter out toml files when linting --- tests.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.mk b/tests.mk index 65b2c6f87..56f22fb2a 100644 --- a/tests.mk +++ b/tests.mk @@ -65,7 +65,7 @@ lint: # SC2001: See if you can use ${variable//search/replace} instead. - https://github.com/koalaman/shellcheck/wiki/SC2001 @echo linting... @$(QUIET) shellcheck -e SC2029 ./contrib/dokku_client.sh - @$(QUIET) find . -not -path '*/\.*' | xargs file | egrep "shell|bash" | grep -v directory | awk '{ print $$1 }' | sed 's/://g' | grep -v dokku_client.sh | xargs shellcheck -e SC2034,SC2086,SC2143,SC2001 + @$(QUIET) find . -not -path '*/\.*' | xargs file | egrep "shell|bash" | egrep -v "directory|toml" | awk '{ print $$1 }' | sed 's/://g' | grep -v dokku_client.sh | xargs shellcheck -e SC2034,SC2086,SC2143,SC2001 unit-tests: @echo running unit tests...