All Projects → tilt-dev → protocc

tilt-dev / protocc

Licence: Apache-2.0 license
Compile protobufs (protoc) inside a container (protocc)!

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

protocc

Build Status

Stop worrying about how to install the right protoc version and managing protoc plugins!

Compile protobufs (protoc) inside a container (protocc)!

Usage

In a directory with .proto files, run:

python protocc.py --out go

protocc will generate all the .pb.go files inside the container, then copy them to your local filesystem, printing where it puts each file.

Requirements

We've manually tested on Python 2 and 3.

Future Work

Currently this only generates Go protobufs, but could be easily modified to support other target languages. We welcome your feature requests, or even better, contributions!

License

Copyright 2018 Windmill Engineering

Licensed under the Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].