-
Notifications
You must be signed in to change notification settings - Fork 169
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
SPM error: NoSources #11
Comments
Given the documentation for SPM says the following:
I'd say this is an SPM bug and not a problem with PathKit. |
The newest Version of SPM has support for testing, so the folder isn't ignored anymore. The documentation is out of date. Take a look at this blog post: http://ankit.im/swift/2016/02/17/swift-package-manager-testing-preview/ Some of your other packages have the same issue. SPM don't accept subfolders in Tests which have no .swift files in it. |
I've got same issue. Testing feature comes with latest |
Running into the same problem with the 2-25 snapshot. Temporary workaround seems to be deleting the Tests directory entirely. |
Yeah, can't solve this at the moment. There is a bug in the swift package manager's exclude [https://twitter.com/mxcl/status/703073165254070275]. |
I think swiftlang/swift-package-manager@02cf82d will ultimately solve this problem. Tests shouldn't even be built when using PathKit as a dependency. |
This can stay open, will need to add the Fixtures directory to excludes once swiftlang/swift-package-manager#152 is merged and released. |
I tried to build your Package with the newest version of the Swift Package Manager. I failed with: NoSources(".../Packages/PathKit-0.6.1/Tests/Fixtures").
The text was updated successfully, but these errors were encountered: