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

Refactor resource helper to correctly get resource URLs when building in Xcode #132

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

Diggory
Copy link
Contributor

@Diggory Diggory commented Sep 18, 2023

Bumps swift-tools-version from 5.0 to 5.5 which allows SPM bundle resources.
Moves Test sample CSV files to their own directory.
Changes tests to fail instead of crash if test data file cannot be loaded.
Updates ResourceHelper to better handle finding URLs of test resource files either from SPM or from the Xcode project.

…code project version

Also updated (fixed the broken) resource files references in Xcode project.
@Diggory
Copy link
Contributor Author

Diggory commented Sep 18, 2023

Should fix #130

Copy link
Contributor

@DivineDominion DivineDominion left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for the fix and for championing this change!

I've opened #133 to make the robots think of issues like this 🤖

@DivineDominion DivineDominion merged commit 87c45bb into swiftcsv:master Sep 18, 2023
1 check passed
@Diggory Diggory deleted the refactor-ResourceHelper branch September 18, 2023 10:58
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