github.com/nats-io/jwt/v2@v2.5.6/Makefile (about)

     1  .PHONY: test cover
     2  
     3  build:
     4  	go build
     5  
     6  fmt:
     7  	gofmt -w -s *.go
     8  	goimports -w *.go
     9  	go mod tidy
    10  
    11  test:
    12  	go vet ./...
    13  	staticcheck ./...
    14  	rm -rf ./coverage.out
    15  	go test -v -coverprofile=./coverage.out ./...
    16  
    17  cover:
    18  	 go tool cover -html=coverage.out