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

Fix an issue that caused the generation to fail when the resources glob includes a bundle #2183

Merged
merged 4 commits into from
Dec 22, 2020

Conversation

pepicrft
Copy link
Contributor

Resolves #539

Short description 📝

As @asalom reported here andn @jsorge confirmed recently, when a resources glob includes a bundle, the generation of projects fails. That's because we try to add the files that are part of the bundle, to the resources build phase of the target. That's not right because we should add the bundle instead.

Solution 📦

Like we recently did with Playgrounds, I'm filtering out the files contained inside a .bundle when mapping the `Target.

@pepicrft pepicrft requested a review from a team December 22, 2020 07:56
@pepicrft pepicrft self-assigned this Dec 22, 2020
@pepicrft pepicrft requested review from natanrolnik and ollieatkinson and removed request for a team December 22, 2020 07:56
@pepicrft
Copy link
Contributor Author

@all-contributors add @jsorge for bug

@allcontributors
Copy link
Contributor

@pepibumur

I've put up a pull request to add @jsorge! 🎉

@pepicrft pepicrft enabled auto-merge (squash) December 22, 2020 08:01
Copy link
Collaborator

@kwridan kwridan left a comment

Choose a reason for hiding this comment

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

Thanks @pepibumur !

@pepicrft pepicrft merged commit e74eb96 into main Dec 22, 2020
@pepicrft pepicrft deleted the fix-bundle branch December 22, 2020 15:14
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.

Having a ".bundle" file in resources can lead to generation errors
2 participants