gorealis/generateBindings.sh
2016-08-02 11:42:00 -07:00

11 lines
332 B
Bash
Executable file

#! /bin/bash
THRIFT_VER=0.9.3
if [[ $(thrift -version | grep -e $THRIFT_VER -c) -ne 1 ]]; then
echo "Warning: This wrapper has only been tested with version" $THRIFT_VER;
fi
echo "Generating bindings and placing them in the vendor folder...";
thrift -o vendor/ -r -gen go:package=apache.aurora auroraAPI.thrift;
echo "Done";