Files
zapdb/pb/gen.sh
Naman JainandGitHub 1d9161103c chore: use gogofaster instead of gofast (#1639)
Switch to gogofaster as it does not produce the extra XXX_ fields that increase up the space of protobuf.
2021-01-25 14:58:49 +05:30

9 lines
310 B
Bash
Executable File

#!/bin/bash
# Run this script from its directory, so that badgerpb2.proto is where it's expected to
# be.
# You might need to go get -v github.com/gogo/protobuf/...
go get -v github.com/gogo/protobuf/protoc-gen-gogofaster
protoc --gogofaster_out=. --gogofaster_opt=paths=source_relative -I=. badgerpb3.proto