Skip to content

Conversation

serpilliere
Copy link
Contributor

@serpilliere serpilliere commented Jul 8, 2022

This PR fixes the build process:
if the end users selects a sub package of a workspace, the current code build each sub packages.
This PR limits the compilation to the selected sub packages

Note:
I don't see here a way to generate a regression test, as it may test if other sub packages are not build (maybe test the resulting tar directory?).
Do you think it's mandatory here?

@volks73 volks73 self-requested a review July 8, 2022 15:25
@volks73
Copy link
Owner

volks73 commented Jul 8, 2022

Do you think it's mandatory here?

I don't think it is mandatory, but it would eventually be nice to have a test of some kind that builds one package of many possibilities within a workspace-based project and builds only the MSI/installer for that one package.

This is related to fully supporting workspaces. There are several issues and discussions related to workspaces but I am still unsure on a good implementation.

This change is relatively small and easy to follow, so a test is not required, but thank you for asking.

Copy link
Owner

@volks73 volks73 left a comment

Choose a reason for hiding this comment

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

Looks good.

@volks73 volks73 merged commit b51c936 into volks73:main Jul 8, 2022
@serpilliere serpilliere deleted the build_only_selected_packages branch July 8, 2022 16:07
@serpilliere
Copy link
Contributor Author

Thank you for the merge @volks73 !
And again, Great project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants