jam-cloud/build

21 lines
343 B
Bash
Executable File

#!/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 *.pb`
# 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