mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
d5a0606c33
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
18 lines
285 B
Makefile
18 lines
285 B
Makefile
SHELL=/bin/bash
|
|
|
|
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
|
|
|
|
all: vet fmt test
|
|
|
|
fmt:
|
|
go fmt $(GOFILES_NOVENDOR)
|
|
|
|
vet:
|
|
# do not check lostcancel, they are intentional.
|
|
go vet -lostcancel=false $(GOFILES_NOVENDOR)
|
|
|
|
test: vet
|
|
./scripts/test_all.sh
|
|
|
|
.PHONY: all test
|