Add dep check to the Makefile

check vendor directory is out of sync
with Gopkh .lock and .toml file

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2019-07-18 17:42:12 +05:30
committed by mergify[bot]
parent bd204d7d45
commit 21a02fb559
2 changed files with 8 additions and 5 deletions

View File

@ -33,14 +33,17 @@ LDFLAGS += -X $(GO_PROJECT)/pkg/util.DriverVersion=$(CSI_IMAGE_VERSION)
all: cephcsi
test: go-test static-check
test: go-test static-check dep-check
go-test:
./scripts/test-go.sh
dep-check:
dep check
static-check:
./scripts/lint-go.sh
./scripts/lint-text.sh
./scripts/lint-text.sh --require-all
func-test:
go test github.com/ceph/ceph-csi/e2e $(TESTOPTIONS)