github.com/mailgun/holster/v4@v4.20.0/Makefile (about)

     1  GOLANGCI_LINT = $(GOPATH)/bin/golangci-lint
     2  GOLANGCI_LINT_VERSION = v1.57.2
     3  
     4  .PHONY: lint
     5  lint: $(GOLANGCI_LINT)
     6  	$(GOLANGCI_LINT) run
     7  
     8  $(GOLANGCI_LINT):
     9  	curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION)
    10  
    11  .PHONY: test
    12  test:
    13  	go test -v -race -p 1 -trimpath -tags holster_test_mode ./...