11 lines
332 B
Bash
Executable file
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";
|