PATH := ${PWD}/bin:${PATH}

test:
	GOBIN="${PWD}/bin" go install -v ./protoc-gen-twirp
	retool do go generate ./...
	retool do errcheck -blank ./internal/twirptest
	go test -race $(shell go list ./... | grep -v /vendor/ | grep -v /_tools/)
