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 SPM support #283

Merged
merged 9 commits into from
Oct 1, 2020
Merged

Added SPM support #283

merged 9 commits into from
Oct 1, 2020

Conversation

3a4oT
Copy link
Contributor

@3a4oT 3a4oT commented Sep 14, 2020

Added SPM support starting from Swift 5.3 (since it supports resources). Some notes:

  • SPM tests not passing when you run it from a command line (SPM(bug)? gets the wrong bundle path) but passing if you use Xcode in SPM edit mode(just open as a package instead of .xcodeproj).

  • dependency strategy for PINOperation set as - branch master. I believe it should be set - from PINOperation 1.2.0 but unfortunately, it was tagged as 1.2 and SPM can not resolve it. Can the maintainers re-tag/new it with proper sem-ver?

@jparise jparise requested a review from garrettmoon September 14, 2020 17:18
@xezero
Copy link

xezero commented Sep 16, 2020

This would be fantastic if this got merged! :)

@3a4oT
Copy link
Contributor Author

3a4oT commented Sep 29, 2020

@garrettmoon ping...

Copy link
Collaborator

@garrettmoon garrettmoon left a comment

Choose a reason for hiding this comment

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

Do you mind adding a command to the make file as well

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@3a4oT 3a4oT requested a review from garrettmoon September 30, 2020 11:00
@3a4oT
Copy link
Contributor Author

3a4oT commented Sep 30, 2020

@garrettmoon, I've addressed your feedback. Thanks!

@3a4oT
Copy link
Contributor Author

3a4oT commented Oct 1, 2020

@garrettmoon This seems to be a sporadic failure, I can confirm that from time to time the same test fails locally. Can we trigger tests again?

Copy link
Collaborator

@garrettmoon garrettmoon left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks so much for adding the support for SPM!

@garrettmoon garrettmoon merged commit 4c3389b into pinterest:master Oct 1, 2020
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