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

Added Swift Package Manager support. #12

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Conversation

DnV1eX
Copy link

@DnV1eX DnV1eX commented Dec 10, 2020

To get it work, I had to flatten the source files structure and conditionally alter getting paths to test resources when in the package.

@bosborn
Copy link
Contributor

bosborn commented Mar 11, 2021

I would want a way to prevent flattening of the source files first, especially for some of our more complex libraries.

@bosborn
Copy link
Contributor

bosborn commented Mar 11, 2021

Did you try using the Target sources parameter?

https://forums.swift.org/t/single-project-multiple-source-dirs-newbie/31088/2

https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageDescription.md#target

///   - sources: An explicit list of source files. If you provide a path to a directory,
///       the Swift Package Manager searches for valid source files recursively.

@bosborn bosborn changed the base branch from master to package March 16, 2021 17:53
@bosborn bosborn merged commit 6596ca0 into ngageoint:package Mar 16, 2021
@galijot
Copy link

galijot commented Jun 14, 2024

Hey @bosborn, do you plan merging this to master branch?

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