Skip to content

Commit

Permalink
update readme (#856)
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <[email protected]>
  • Loading branch information
disksing authored Jan 21, 2022
1 parent a2d310d commit 805ac3a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ The easiest way to compile the protobufs is to use docker.
./scripts/docker-run.sh make go
```

# Build locally

# Multiple `protoc` Versions

If you need to override your version of `protoc` because you have a later version you can install the correct version like so:

```bash
PROTOC_VERSION=3.8.0
case `uname` in
'Darwin') export OS='osx';;
'Linux') export OS='linux';;
esac
curl -L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-$OS-x86_64.zip -o protoc.zip &&\
unzip protoc.zip -d protoc &&\
rm protoc.zip
```

Then you can run `PATH="$(pwd)/protoc/bin:$PATH" make`

There are many dependencies to be installed, please refer to the relevant scripts in [workflow](.github/workflows) to set them up.

0 comments on commit 805ac3a

Please sign in to comment.