Skip to content

Fix some issues from #10535 Address changes#10555

Merged
Eric-Arellano merged 2 commits intopantsbuild:masterfrom
Eric-Arellano:address-fixes
Aug 5, 2020
Merged

Fix some issues from #10535 Address changes#10555
Eric-Arellano merged 2 commits intopantsbuild:masterfrom
Eric-Arellano:address-fixes

Conversation

@Eric-Arellano
Copy link
Copy Markdown
Contributor

The old validation for BUILD in the spec path would incorrectly error for a generated subtarget with BUILD as its file. We only want to error if BUILD is in the spec_path, but it's okay if it's in the relative_file_path or target_name.

Our spec logic was also incorrect for generated subtargets which live in a directory below the original target, where the original target is the default name.

[ci skip-rust]
[ci skip-build-wheels]

[ci skip-rust]

[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano requested a review from stuhood August 5, 2020 19:28
Copy link
Copy Markdown
Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@coveralls
Copy link
Copy Markdown

coveralls commented Aug 5, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling 23a95b1 on Eric-Arellano:address-fixes into 1e11586 on pantsbuild:master.

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit 6c90064 into pantsbuild:master Aug 5, 2020
@Eric-Arellano Eric-Arellano deleted the address-fixes branch August 5, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants