Make lint ignore certain files regardless of location:

This commit is contained in:
Tom Wilkie
2015-09-28 08:03:27 +00:00
parent c3279ba3fd
commit caecc98fa8

8
lint
View File

@@ -116,10 +116,10 @@ function lint {
fi
# Don't lint this script or static.go
case "${filename}" in
./lint) return;;
./app/static.go) return;;
./coverage.html) return;;
case "$(basename "${filename}")" in
lint) return;;
static.go) return;;
coverage.html) return;;
esac
case "$ext" in