github.com/VertebrateResequencing/muxfys/v4@v4.0.3/buildscripts/lint.makefile (about)

     1  # make -f buildscripts/lint.makefile
     2  
     3  default: lint
     4  
     5  test: export CGO_ENABLED = 0
     6  test:
     7  	@go test -p 1 -tags netgo --count 1 ./...
     8  
     9  race: export CGO_ENABLED = 1
    10  race:
    11  	@go test -p 1 -tags netgo --count 1 -v -race ./...
    12  
    13  # curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
    14  lint:
    15  	@golangci-lint run
    16  
    17  lintextra:
    18  	@golangci-lint run -c .golangci_extra.yml
    19  
    20  .PHONY: test race lint lintextra