-
Notifications
You must be signed in to change notification settings - Fork 194
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
Support Swift Package Manager. #77
Conversation
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
- Coverage 92.53% 91.96% -0.57%
==========================================
Files 13 14 +1
Lines 415 423 +8
==========================================
+ Hits 384 389 +5
- Misses 31 34 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! The ResourceHelper
is a reasonable addition. Didn't know about SPM's limitation on this.
Thanks for contributing! I've invited you to join the SwiftCSV GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines. |
@DivineDominion Cool! I'd like to do something to make it prefect! |
* add SwiftPackageManager support. * add resourcehelper's file reference to fix test error in SwiftPM
I find this repo when I try to make a small tool to parse csv files. It's awesome! But the only regret is that it does not support SPM. So I made this PR to do something for others.
It is easy to use new version of swift tool. But there is one not good of SPM, it does not support include resources with targets, it's a bug. So, in order to pass the test case, I added a
ResourceHelper
to get the url of resource.