# miller — receta Go (Etapa G frente Go). main en ./cmd/mlr, binario `mlr`.
name    = "miller"
version = "6.18.1"
license = "BSD-2-Clause"

[source]
repo   = "https://github.com/johnkerl/miller"
commit = "22bed963460939d2c7482c9469a1ca7ed2ef8ffb"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "static"

[deps]
build = ["go"]

[build.phases]
configure = "true"
compile   = "export GOCACHE=/tmp/gocache GOPATH=/tmp/gopath GOTOOLCHAIN=local CGO_ENABLED=0 GOFLAGS=-mod=vendor GOPROXY=off; go build -trimpath -ldflags=-buildid= -o /out/usr/bin/mlr ./cmd/mlr"
install   = "true"
