forked from prometheus/prometheus
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henri DF <henridf@gmail.com>
- Loading branch information
1 parent
45b8dea
commit a3ddde0
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
The compiled protobufs are version controlled and you won't normally need to | ||
re-compile them when building Prometheus. | ||
|
||
If however you have modified the defs and do need to re-compile, run | ||
`./scripts/genproto.sh` from the parent dir. | ||
|
||
In order for the script to run, you'll need `protoc` (version 3.5) in your | ||
PATH, and the following Go packages installed: | ||
|
||
- github.com/gogo/protobuf | ||
- github.com/gogo/protobuf/protoc-gen-gogofast | ||
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/ | ||
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger | ||
- golang.org/x/tools/cmd/goimports |