https://github.com/tilt-dev/protocc
Compile protobufs (protoc) inside a container (protocc)!
https://github.com/tilt-dev/protocc
Last synced: about 1 year ago
JSON representation
Compile protobufs (protoc) inside a container (protocc)!
- Host: GitHub
- URL: https://github.com/tilt-dev/protocc
- Owner: tilt-dev
- License: apache-2.0
- Created: 2018-11-02T17:32:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-08T18:55:26.000Z (over 7 years ago)
- Last Synced: 2025-04-18T07:52:07.882Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 20
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# protocc
[](https://circleci.com/gh/windmilleng/protocc)
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
- [Docker](https://docs.docker.com/install/)
- Python
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](LICENSE)