mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: vendor files required for kmip
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
44
vendor/github.com/ansel1/merry/Makefile
generated
vendored
Normal file
44
vendor/github.com/ansel1/merry/Makefile
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
# Expands to list this project's go packages, excluding the vendor folder
|
||||
SHELL = bash
|
||||
|
||||
all: fmt build test lint v2
|
||||
|
||||
v2:
|
||||
$(MAKE) -C v2
|
||||
|
||||
build:
|
||||
go build
|
||||
|
||||
|
||||
lint:
|
||||
golint -set_exit_status
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
testall:
|
||||
go test -count 1 ./...
|
||||
|
||||
coverage:
|
||||
@if [ ! -d build ]; then mkdir build; fi
|
||||
# runs go test and generate coverage report
|
||||
go test -covermode=count -coverprofile=build/coverage.out ./...
|
||||
go tool cover -html=build/coverage.out -o build/coverage.html
|
||||
|
||||
bench:
|
||||
go test -bench ./...
|
||||
|
||||
### TOOLS
|
||||
|
||||
tools:
|
||||
go get -u golang.org/x/tools/cmd/cover
|
||||
go get -u golang.org/x/lint/golint
|
||||
|
||||
.PHONY: all build lint clean fmt test coverage tools v2
|
||||
|
Reference in New Issue
Block a user