Makefile: move shellcheck out of validate

This serves two purposes:

1. A developer can now run `make shellcheck` to show  any issues    with
   shell or bats files formatting (this requires a recent version of
   shfmt, which I think is out of scope for Makefile).

2. Exclude shellcheck from travis ci (will be re-added as a GH action
   by the next commit).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2020-11-19 17:56:26 -08:00
parent 33bda24ac3
commit 27835a9e5e
+3 -1
View File
@@ -121,6 +121,8 @@ validate:
script/validate-gofmt
script/validate-c
$(GO) vet $(MOD_VENDOR) ./...
shellcheck:
shellcheck tests/integration/*.bats
# TODO: add shellcheck for sh files
@@ -155,5 +157,5 @@ localcross:
.PHONY: runc all recvtty static release dbuild lint man runcimage \
test localtest unittest localunittest integration localintegration \
rootlessintegration localrootlessintegration shell install install-bash \
install-man clean validate ci shfmt \
install-man clean validate ci shfmt shellcheck \
vendor verify-dependencies cross localcross