chore(tvix): move store golang bindings to tvix/store-go
Similar to the castore-go CL before, this also updates the store-go bindings to the new layout. Change-Id: Id73d7ad43f7d70171ab021728e303300c5db71f0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9788 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
parent
e38733a955
commit
1b26bf21e3
20 changed files with 95 additions and 10 deletions
|
@ -111,12 +111,10 @@ in
|
|||
(cd $(git rev-parse --show-toplevel)/tvix/castore-go && rm *.pb.go && cp ${depot.tvix.castore.protos.go-bindings}/*.pb.go . && chmod +w *.pb.go)
|
||||
'';
|
||||
|
||||
# Builds and tests the code in store/protos.
|
||||
store-protos-go = pkgs.buildGoModule {
|
||||
name = "store-golang";
|
||||
src = depot.third_party.gitignoreSource ./store/protos;
|
||||
vendorHash = "sha256-WAYaIT3h3Cdvo1RB8T7DuoxeKvXfkq8vo/vdkhJQDs0=";
|
||||
};
|
||||
# Update `.pb.go` files in tvix/store-go with the generated ones.
|
||||
store-go-generate = pkgs.writeShellScriptBin "store-go-protogen" ''
|
||||
(cd $(git rev-parse --show-toplevel)/tvix/store-go && rm *.pb.go && cp ${depot.tvix.store.protos.go-bindings}/*.pb.go . && chmod +w *.pb.go)
|
||||
'';
|
||||
|
||||
# Build the Rust documentation for publishing on docs.tvix.dev.
|
||||
rust-docs = pkgs.stdenv.mkDerivation {
|
||||
|
@ -144,7 +142,6 @@ in
|
|||
};
|
||||
|
||||
meta.ci.targets = [
|
||||
"store-protos-go"
|
||||
"shell"
|
||||
"rust-docs"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue