This is intended to be an example of using the protocol from something other than C++ and to be a building block for future test clients.
10 lines
180 B
Bash
Executable file
10 lines
180 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SRC_DIR=../../common/pb/
|
|
DST_DIR=./pypb
|
|
|
|
rm -rf "$DST_DIR"
|
|
mkdir -p "$DST_DIR"
|
|
protoc -I=$SRC_DIR --python_out=$DST_DIR $SRC_DIR/*.proto
|
|
touch "$DST_DIR/__init__.py"
|
|
|