You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 795B

1234567891011121314151617181920212223242526272829303132333435
  1. test:
  2. go clean -testcache
  3. go test -cover -v ./...
  4. watch:
  5. modd
  6. release:
  7. script/release
  8. deps:
  9. GO111MODULE=off go get -u golang.org/x/tools/cmd/godoc
  10. GO111MODULE=off go get -u github.com/cortesi/modd/cmd/modd
  11. GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
  12. GO111MODULE=off go get -u github.com/lmika/goseq
  13. tidy:
  14. go mod tidy
  15. lint:
  16. golangci-lint run --tests=false --enable-all
  17. sequence-diagram: sd-advertise sd-update sd-ping
  18. sd-%:
  19. goseq doc/sequence-diagram/$*.seq > doc/sequence-diagram/$*.svg
  20. doc:
  21. @echo "open your browser to http://localhost:6060/pkg/forge.cadoles.com/wpetit/go-http-peering to see the documentation"
  22. godoc -http=:6060
  23. bin/keygen:
  24. go build -o bin/keygen ./cmd/keygen
  25. .PHONY: test lint doc sequence-diagram bin/keygen release