jam-cloud/build

23 lines
389 B
Plaintext
Raw 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`
2012-07-31 04:00:33 +00:00
# make variables available to sub-scripts
export SRC TARGET PROTO_FILES
# cpp/java/python supported by protoc
./build_protoc
# ruby supported by rprotoc
./build_rprotoc
# c supported by protoc-c
./build_protoc-c