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 to link dynamic libraries when importing *Config modules #24

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

minuscorp
Copy link
Collaborator

This PR allows users to create their own dynamic libraries with custom PackageConfiguration extensions which makes it compatible with libraries such as Komondor and Rocket.

The change is pretty simple, when compiling Package.swift, PackageConfig will look for any module import that ends with *Config, i.e. import MyCustomHooksConfig. In a similar way which PackageConfigs method works but it allows to create libraries that can be used by third-party packages as well.

@minuscorp minuscorp requested a review from orta October 26, 2021 08:44
@orta
Copy link
Member

orta commented Oct 27, 2021

Yeah, sounds legit to me 👍🏻

@orta orta merged commit 5df1709 into shibapm:master Oct 27, 2021
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.

2 participants