Skip to content

aspect clang-tidy.yaml is being produced but not printed to terminal #87

Open
@nickdesaulniers

Description

@nickdesaulniers

I swear I had this working where following the readme, I could simply build with the addition of --config=clang-tidy and the errors found would be printed to the terminal. But today I'm only seeing:

$ bazel build //some:path --config=clang-tidy
...
Aspect @@bazel_clang_tidy+//clang_tidy:clang_tidy.bzl%clang_tidy_aspect of //some:path up-to-date:
  bazel-bin/some/bazel_clang_tidy_arch/path.cpp.some.clang-tidy.yaml
...

And path.cpp.some.clang-tidy.yaml looks like machine parseable list of diagnostics from clang-tidy. How come they didn't print to my terminal? I tried bisecting back to when I first introduced bazel_clang_tidy to our codebase, but I still don't see output to terminal. I swear I used to. How do I go about debugging what might have changed in my environment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions