Checking in vendor folder for ease of using go get.
This commit is contained in:
parent
7a1251853b
commit
cdb4b5a1d0
3554 changed files with 1270116 additions and 0 deletions
24
vendor/git.apache.org/thrift.git/contrib/transport-sample/thriftme.sh
generated
vendored
Normal file
24
vendor/git.apache.org/thrift.git/contrib/transport-sample/thriftme.sh
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
THRIFT_COMPILER=./thrift
|
||||
OUTPUT_FOLDER=$PWD
|
||||
|
||||
if [ ! -e "${THRIFT_COMPILER}" ]
|
||||
then
|
||||
THRIFT_COMPILER=thrift
|
||||
command -v ${THRIFT_COMPILER} >/dev/null 2>&1
|
||||
if [ $? -eq 1 ]; then
|
||||
echo
|
||||
echo "thrift compiler not found."
|
||||
echo
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
${THRIFT_COMPILER} --gen cpp Sample.thrift
|
||||
|
||||
echo
|
||||
echo "Files have been generated in gen-cpp."
|
||||
|
||||
exit
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue