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

Add Swift Package Manager support #424

Merged
merged 3 commits into from
Nov 5, 2016
Merged

Add Swift Package Manager support #424

merged 3 commits into from
Nov 5, 2016

Conversation

gfontenot
Copy link
Collaborator

This adds support for building with Swift Package Manager. It's largely
just project reorganization and the addition of a Package.swift file.

Note that since Swift Package Manager still doesn't support test-only
dependencies, we're not able to get swift test to work, which is a
real bummer. However, I've gone ahead and moved the test code into a
folder structure that should work for swift test once we can use it.

@gfontenot
Copy link
Collaborator Author

ping @thoughtbot/ios

I'd like to get this in alongside the fix from #425 so that we can use Argo with SPM.

Copy link
Contributor

@tonyd256 tonyd256 left a comment

Choose a reason for hiding this comment

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

nice re-org!

This is probably a better location for this kind of thing.
With this in place, you can now run `swift build` successfully.
This moves the test code into place so that `swift test` can eventually
be supported. Unfortunately, since Swift Package Manager still doesn't
have support for adding testing dependencies, we can't go further (and
this might still need some work down the line), but it's at least a
start and gets us moving in the right direction.
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