【问题标题】:Custom --config options showing up in "bazel help <command>"自定义 --config 选项显示在“bazel help <command>”中
【发布时间】:2018-02-06 17:17:34
【问题描述】:

如果我在我的 .bazelrc 中定义了一个自定义的 --config 选项,例如

# My custom config
build:my_config --define my_setting=true
build:my_config --define my_other_setting=true

有什么方法可以让它显示在“bazel help build”或其他命令中。最好带有某种自定义帮助文本。我认为这将是一个很好的功能来跟踪构建选项。特别是由于一些像 tensorflow 这样的项目,想要创建 .bazelrc 配置甚至作为外部依赖。

【问题讨论】:

    标签: bazel


    【解决方案1】:

    有没有办法让这个显示在“bazel help build”或其他命令中

    不,很遗憾,Bazel 没有这样的功能。

    【讨论】:

      猜你喜欢
      • 2014-08-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-12
      • 2013-12-19
      • 2021-12-05
      相关资源
      最近更新 更多