How do I get the commands executed by Bazel

后端 未结 2 2054
耶瑟儿~
耶瑟儿~ 2020-12-16 12:31

I was wondering if there is a way to get Bazel to list, output, display, etc., all of the commands that can be executed from a command line that are run during a build afte

2条回答
  •  悲哀的现实
    2020-12-16 12:52

    I'd use aquery:

    bazel aquery //foo
    

    It's very fast, because it prints the actions without executing the build. And you don't have to do a bazel clean before.

提交回复
热议问题