William Petit
932aa46a18
All checks were successful
Cadoles/go-http-peering/pipeline/head This commit looks good
35 lines
810 B
Makefile
35 lines
810 B
Makefile
test:
|
|
go clean -testcache
|
|
go test -cover -v ./...
|
|
|
|
watch:
|
|
modd
|
|
|
|
release:
|
|
script/release
|
|
|
|
deps:
|
|
GO111MODULE=off go get -u golang.org/x/tools/cmd/godoc
|
|
GO111MODULE=off go get -u github.com/cortesi/modd/cmd/modd
|
|
GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
GO111MODULE=off go get -u github.com/lmika/goseq
|
|
|
|
tidy:
|
|
go mod tidy
|
|
|
|
lint:
|
|
golangci-lint run --tests=false --enable-all
|
|
|
|
sequence-diagram: sd-advertise sd-update sd-ping
|
|
|
|
sd-%:
|
|
goseq doc/sequence-diagram/$*.seq > doc/sequence-diagram/$*.svg
|
|
|
|
doc:
|
|
@echo "open your browser to http://localhost:6060/pkg/forge.cadoles.com/Cadoles/go-http-peering to see the documentation"
|
|
godoc -http=:6060
|
|
|
|
bin/keygen:
|
|
CGO_ENABLED=0 go build -o bin/keygen ./cmd/keygen
|
|
|
|
.PHONY: test lint doc sequence-diagram bin/keygen release |