Moving from govendor to dep, updated dependencies (#48)
* Moving from govendor to dep. * Making the pull request template more friendly. * Fixing akward space in PR template. * goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")` source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
This commit is contained in:
parent
9631aa3aab
commit
8d445c1c77
2186 changed files with 400410 additions and 352 deletions
22
vendor/git.apache.org/thrift.git/test/py/generate.cmake
generated
vendored
Normal file
22
vendor/git.apache.org/thrift.git/test/py/generate.cmake
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
macro(GENERATE FILENAME GENERATOR OUTPUTDIR)
|
||||
file(MAKE_DIRECTORY ${MY_CURRENT_BINARY_DIR}/${OUTPUTDIR})
|
||||
execute_process(COMMAND ${THRIFTCOMPILER} --gen ${GENERATOR} -out ${MY_CURRENT_BINARY_DIR}/${OUTPUTDIR} ${FILENAME}
|
||||
RESULT_VARIABLE CMD_RESULT)
|
||||
if(CMD_RESULT)
|
||||
message(FATAL_ERROR "Error generating ${FILENAME} with generator ${GENERATOR}")
|
||||
endif()
|
||||
endmacro(GENERATE)
|
||||
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py gen-py-default)
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py:slots gen-py-slots)
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py:old_style gen-py-oldstyle)
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py:no_utf8strings gen-py-no_utf8strings)
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py:dynamic gen-py-dynamic)
|
||||
generate(${MY_PROJECT_DIR}/test/ThriftTest.thrift py:dynamic,slots gen-py-dynamicslots)
|
||||
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py gen-py-default)
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py:slots gen-py-slots)
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py:old_style gen-py-oldstyle)
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py:no_utf8strings gen-py-no_utf8strings)
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py:dynamic gen-py-dynamic)
|
||||
generate(${MY_PROJECT_DIR}/test/DebugProtoTest.thrift py:dynamic,slots gen-py-dynamicslots)
|
Loading…
Add table
Add a link
Reference in a new issue