-
-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate that
[tailor].build_file_name
is compatible with `[GLOBAL]…
….build_patterns` (#13420) Closes #13419. For example: > ./pants tailor --build-file-name=bad > ... > ValueError: The option `[tailor].build_file_name` is set to `bad`, which is not compatible with `[GLOBAL].build_patterns`: ['BUILD', 'BUILD.*']. This means that generated BUILD files would be ignored. > > To fix, please update the options so that they are compatible. Note that we don't look at `--build-ignore`. If a user wants to ignore the top-level `BUILD`, that does not imply they generally don't want to use the pattern `BUILD`. [ci skip-rust]
- Loading branch information
1 parent
2ca51cf
commit cbee9ff
Showing
3 changed files
with
75 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters