./pants tailor [args]

Auto-generate BUILD file targets for new source files.

Config section: [tailor]

Basic options

None

Advanced options

build_file_indent

--tailor-build-file-indent=<str>
PANTS_TAILOR_BUILD_FILE_INDENT
default:

The indent to use when auto-editing BUILD files.


alias_mapping

--tailor-alias-mapping="{'key1': val1, 'key2': val2, ...}"
PANTS_TAILOR_ALIAS_MAPPING
default: {}

A mapping from standard target type to custom type to use instead. The custom type can be a custom target type or a macro that offers compatible functionality to the one it replaces (see Macros).


Deprecated options

None

Related subsystems

python-setup, source, tailor


Did this page help you?