wasi-module-sdk-go/.buildr/tools.hcl

30 lines
663 B
HCL
Raw Normal View History

2023-05-24 20:11:05 +00:00
locals {
tool_versions {
mockery = gh_latest_release("vektra", "mockery")
vtprotobuf = gh_latest_release("planetscale", "vtprotobuf")
}
}
tool "go_tool" "mockery" {
binary_name = "mockery"
repository = "github.com/vektra/mockery/v2"
version = local.tool_versions.mockery
build_args = [
"-v",
"-trimpath",
"-a",
"-installsuffix=cgo"
]
}
tool "go_tool" vtprotobuf {
binary_name = "protoc-gen-go-vtproto"
repository = "github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto"
version = local.tool_versions.vtprotobuf
build_args = [
"-v",
"-trimpath",
"-a",
"-installsuffix=cgo"
]
}