nm, think I've found it, --build_patterns
# general
m
nm, think I've found it, --build_patterns
e
Yes,
--build_patterns
will do it. Don't forget to also set
Copy code
[tailor]
build_file_name = "PANTSBUILD"
in your
pants.toml
so that using
pants tailor
will generate build files using whatever naming convention you adopt
f
You may also want to set
--pants-ignore
and
--build-ignore
so Pants does not try to look into Bazel's directories. https://github.com/pantsbuild/example-workspace-execution/blob/38ffd89d4a141382115063d0be2e56ec10795723/pants.toml#L8-L15
(That repo is an example of Pants invoking Bazel by the way, which might be useful in and of itself.)