Configuration for roots of source trees.
--source-root-patterns="[["pattern1", "pattern2", ...], ["pattern1", "pattern2", ...], ...]"
[ "/", "src", "src/python", "src/py", "src/thrift", "src/protobuf", "src/protos", "src/scala", "src/java" ]
A list of source root suffixes.
A directory with this suffix will be considered a potential source root. E.g.,
src/python will match
/ to anchor the match at the buildroot. E.g.,
/src/python will match
<buildroot>/src/python but not
* wildcard will match a single path segment, E.g.,
src/* will match
/ to signify that the buildroot itself is a source root.
See Source roots.
--source-marker-filenames="[filename, filename, ...]"
The presence of a file of this name in a directory indicates that the directory is a source root. The content of the file doesn't matter, and may be empty. Useful when you can't or don't wish to centrally enumerate source roots via
Updated 30 days ago