jam-cloud/pb/build

26 lines
437 B
Plaintext
Raw Permalink Normal View History

2012-07-31 04:00:33 +00:00
#!/bin/bash
TARGET=target
SRC=src
# clean
rm -rf $TARGET
# prep output
mkdir $TARGET
# find all protocol buffer files in src directory
#PROTO_FILES=`find src -name *.proto`
PROTO_FILES=src/client_container.proto
2012-07-31 04:00:33 +00:00
# make variables available to sub-scripts
export SRC TARGET PROTO_FILES
2012-08-06 04:01:24 +00:00
set -e
2012-07-31 04:00:33 +00:00
# cpp/java/python supported by protoc
./build_protoc
# ruby supported by rprotoc
./build_rprotoc
# c supported by protoc-c
./build_protoc-c