Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow add_dist_script() in subprojects #8444

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

xclaesse
Copy link
Member

@xclaesse xclaesse commented Mar 2, 2021

Fixes: #8440.

@xclaesse xclaesse requested a review from jpakkane as a code owner March 2, 2021 03:09
@xclaesse xclaesse added this to the 0.58.0 milestone Mar 16, 2021
@xclaesse
Copy link
Member Author

@jpakkane @dcbaker any objection?

@dcbaker
Copy link
Member

dcbaker commented Mar 17, 2021

I didn't look over the implementation too closely, but I'm fine with idea. Consider this an acked-by

@jpakkane
Copy link
Member

The thing that concerns me is that this may cause problems when people start disting subprojects that have not been updated to work with this. Dunno if we can do anything about it, though...

@xclaesse
Copy link
Member Author

They certainly won't work out of the box, they have to be ported to use MESON_PROJECT_ variables otherwise all paths are going to be wrong. But since it's currently not allowed to call add_dist_script from a subproject, it can't create regressions.

@xclaesse xclaesse merged commit 3990754 into mesonbuild:master Mar 18, 2021
@xclaesse xclaesse deleted the dist-script branch March 18, 2021 12:41
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.

ERROR: add_dist_script may not be used in a subproject.
3 participants