tvl-depot/tvix/build-go
Florian Klink 4d6137964b feat(tvix/build): don't force outputs to be in store_dir
There's no need to require builds to also put their outputs in store_dir.

So rename store_dir to inputs_dir and make outputs consume paths, not
basenames.

Also document the possibility for builds to write to inputs_dir. Let's
see if we want to make this a constraint later.

Change-Id: Ib4df20afcdde2d771c269c422f04c7e95587cd0f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10447
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
2023-12-29 22:14:08 +00:00
..
build.pb.go feat(tvix/build): don't force outputs to be in store_dir 2023-12-29 22:14:08 +00:00
default.nix feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.mod feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.sum feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
LICENSE feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
README.md feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build_grpc.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00

build-go

This directory contains generated golang bindings, both for the tvix-build data models, as well as the gRPC bindings.

They are generated with mg run //tvix/build-go:regenerate. These files end with .pb.go, and are ensured to be up to date by a CI check.

Additionally, code useful when interacting with these data structures (ending just with .go) is provided.