mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-26 19:22:21 +00:00
9 lines
302 B
Bash
9 lines
302 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
docker run --rm -v "`pwd`/../../":/usr/code:z -w /usr/code rust /bin/bash -c " \
|
||
|
apt-get update; \
|
||
|
apt-get install -y protobuf-compiler; \
|
||
|
cargo install --version 2.3.0 protobuf-codegen; \
|
||
|
protoc --rust_out=./protocols/plaintext/src/pb ./protocols/plaintext/structs.proto;"
|
||
|
|