File: Makefile

package info (click to toggle)
golang-github-nats-io-jwt 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 680 kB
  • sloc: makefile: 30; sh: 26
file content (18 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: test cover

build:
	go build

fmt:
	gofmt -w -s *.go
	goimports -w *.go
	go mod tidy

test:
	go vet ./...
	staticcheck ./...
	rm -rf ./coverage.out
	go test -v -coverprofile=./coverage.out ./...

cover:
	 go tool cover -html=coverage.out