I use sbt 节俭 https://github.com/bigtoast/sbt-thrift 0.6我在构建定义中有以下内容:
thriftPythonEnabled := true,
thriftPythonOutputDir <<= sourceDirectory(_ / "python")
当我跑步时thrift:generate-python
它什么也不产生。thrift:generate-java
工作正常。
有人能告诉我我需要做什么才能在插件中启用 Python 支持吗?
你想念Thrift
在您的设置中进行配置。
尝试以下操作(使用 SBT0.12句法):
thriftPythonEnabled in Thrift := true,
thriftPythonOutputDir in Thrift <<= sourceDirectory(_ / "python")
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)