mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
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.
11 lines
180 B
Bash
Executable File
11 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"
|
|
|