SDK_MODULE := git.dev.alexdunmow.com/block/pluginsdk

# Lint + regenerate the Go bindings for the wasm plugin ABI from the proto
# tree (abi/proto/v1). go_package is set explicitly in each .proto; with
# paths=source_relative and out: ., v1/*.proto emits to abi/v1/*.pb.go, i.e.
# Go package git.dev.alexdunmow.com/block/pluginsdk/abi/v1 (abiv1).
.PHONY: proto
proto:
	cd abi && buf lint && buf generate

.PHONY: build
build:
	go build ./...

.PHONY: test
test:
	go test ./...

.PHONY: tidy
tidy:
	go mod tidy
