gorealis/generateBindings.sh

12 lines
290 B
Bash
Raw Permalink Normal View History

2016-08-02 11:42:00 -07:00
#! /bin/bash
THRIFT_VER=0.14.0
2016-08-02 11:42:00 -07:00
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...";
thrift -o ./ -r -gen go:package=apache.aurora auroraAPI.thrift;
2016-08-02 11:42:00 -07:00
echo "Done";