quick-caravan-31864
01/19/2024, 2:45 PMclang-format
binary used by the pants.backend.experimental.cc.lint.clangformat
backend to export to dist/export
? I used to have this working in version < 2.16 where pants export ::
would pick it up, but I think some things changed particularly with resolves, and now I'm not sure how to configure it.careful-address-89803
01/22/2024, 3:52 AMpants export ::
no longer exports all tools. I think you'd need to export the resolve it's in by name. I'm not sure what the resolve is off hand (I'm guessing clangformat
), but you can list resolves with pants generate-lockfiles --resolve=
. You can then export it with pants export --resolve=clangformat
quick-caravan-31864
01/23/2024, 5:47 PMpants.backend.experimental.cc.lint.clangformat
backend gets turned into a resolve, it doesn't show up in the list. there is a lock-file here though: https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/cc/lint/clangformat/clangformat.lockquick-caravan-31864
01/23/2024, 5:49 PMcareful-address-89803
01/26/2024, 3:39 AM