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

Swift 4 #54

Merged
merged 6 commits into from Mar 31, 2019
Merged

Swift 4 #54

merged 6 commits into from Mar 31, 2019

Conversation

stephencelis
Copy link
Member

Chatted with the fine folks on the SPM Slack and looks like this is the way to go about supporting Swift 4 and 5 at the same time.

@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:4.2
Copy link
Member Author

Choose a reason for hiding this comment

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

The tools version should (almost) always be the minimum supported version. We could alternately maintain a separate manifest as described here: https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#version-specific-manifest-selection

But I was discouraged from doing so.

@stephencelis
Copy link
Member Author

Once merged this should fix #53.

@stephencelis
Copy link
Member Author

(Build's broken because SnapshotTesting dropped Swift 4 support. I'll add it back.)

Copy link
Member

@mbrandonw mbrandonw left a comment

Choose a reason for hiding this comment

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

Nice!

@stephencelis stephencelis merged commit 3ffc3fc into master Mar 31, 2019
@stephencelis stephencelis deleted the swift-4 branch March 31, 2019 17:41
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.

None yet

2 participants