Protobuild.toml (1025B)
1 version = "2" 2 generators = ["go"] 3 4 # Control protoc include paths. Below are usually some good defaults, but feel 5 # free to try it without them if it works for your project. 6 [includes] 7 # Include paths that will be added before all others. Typically, you want to 8 # treat the root of the project as an include, but this may not be necessary. 9 # before = ["."] 10 11 # Paths that will be added untouched to the end of the includes. We use 12 # `/usr/local/include` to pickup the common install location of protobuf. 13 # This is the default. 14 after = ["/usr/local/include", "/usr/include"] 15 16 # Aggregrate the API descriptors to lock down API changes. 17 [[descriptors]] 18 prefix = "github.com/containerd/cgroups/cgroup1/stats" 19 target = "cgroup1/stats/metrics.pb.txt" 20 ignore_files = [ 21 "google/protobuf/descriptor.proto", 22 ] 23 [[descriptors]] 24 prefix = "github.com/containerd/cgroups/cgroup2/stats" 25 target = "cgroup2/stats/metrics.pb.txt" 26 ignore_files = [ 27 "google/protobuf/descriptor.proto", 28 ] 29 30 [parameters.go] 31 paths = "source_relative"