fix(git): add vendor in .gitignore
This commit is contained in:
18
vendor/gopkg.in/go-playground/validator.v9/Makefile
generated
vendored
18
vendor/gopkg.in/go-playground/validator.v9/Makefile
generated
vendored
@@ -1,18 +0,0 @@
|
||||
GOCMD=go
|
||||
|
||||
linters-install:
|
||||
@golangci-lint --version >/dev/null 2>&1 || { \
|
||||
echo "installing linting tools..."; \
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.19.1; \
|
||||
}
|
||||
|
||||
lint: linters-install
|
||||
golangci-lint run
|
||||
|
||||
test:
|
||||
$(GOCMD) test -cover -race ./...
|
||||
|
||||
bench:
|
||||
$(GOCMD) test -bench=. -benchmem ./...
|
||||
|
||||
.PHONY: test lint linters-install
|
||||
Reference in New Issue
Block a user