github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/scripts/update-protobuf-helper.sh (about) 1 #!/bin/bash 2 # 3 # Generates protobufs for Tilt API Server objects. 4 # Intended to be run inside the container created by protobuf-helper.dockerfile 5 6 set -ex 7 8 echo $GOPATH 9 cd /go/src/github.com/tilt-dev/tilt 10 go-to-protobuf -h ./hack/boilerplate.go.txt \ 11 --packages github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1 \ 12 --proto-import /go/src/github.com/tilt-dev/tilt/vendor \ 13 --apimachinery-packages "-k8s.io/apimachinery/pkg/util/intstr,-k8s.io/apimachinery/pkg/api/resource,-k8s.io/apimachinery/pkg/runtime/schema,-k8s.io/apimachinery/pkg/runtime,-k8s.io/apimachinery/pkg/apis/meta/v1" 14