Debian Codegraph @

Makefile

raw symbols SCIP
1
2 love:
3
4 fmt:
5 gofmt -w `find . -type f -name '*.go' -not -path "./vendor/*"`
6 goimports -w `find . -type f -name '*.go' -not -path "./vendor/*"`
7
8 lint:
9 golangci-lint run
10
11 ci: cover
12 [ -z "$(CODECOV_TOKEN)" ] || bash -c 'bash <(curl -s https://codecov.io/bash)'
13
14 .PHONY: cover
15 cover:
16 go test -race -coverprofile=cover.out -coverpkg=./... ./...
17 go tool cover -html=cover.out -o cover.html