File: Makefile

package info (click to toggle)
golang-github-nats-io-jwt 0.0~git20181120.285cf2c-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 228 kB
  • sloc: makefile: 16; sh: 11
file content (18 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: test cover

build:
	go build

test:
	gofmt -s -w *.go
	goimports -w *.go
	go vet ./...
	go test -v
	go test -v --race

fmt:
	gofmt -w -s *.go

cover:
	 go test -v -covermode=count -coverprofile=coverage.out
	 go tool cover -html=coverage.out