test:
	go clean -testcache
	go test -cover -v ./...

watch:
	go run -mod=readonly github.com/cortesi/modd/cmd/modd@latest

release:
	script/release

tidy:
	go mod tidy

lint:
	go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0 run --tests=false --enable-all

bin/keygen:
	CGO_ENABLED=0 go build -o bin/keygen ./cmd/keygen

.PHONY: test lint doc sequence-diagram bin/keygen release