mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user