Comments (7)
Given the documentation for SPM says the following:
- Directories named Tests are ignored
- Sub directories of a directory named Sources, Source, srcs or src become modules
I'd say this is an SPM bug and not a problem with PathKit.
from 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.
from pathkit.
I've got same issue. Testing feature comes with latest DEVELOPMENT-SNAPSHOT-2016-02-25-a
release, so would be great to get released fix soon.
from pathkit.
Running into the same problem with the 2-25 snapshot. Temporary workaround seems to be deleting the Tests directory entirely.
from pathkit.
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].
from pathkit.
I think apple/swift-package-manager@02cf82d will ultimately solve this problem. Tests shouldn't even be built when using PathKit as a dependency.
from pathkit.
This can stay open, will need to add the Fixtures directory to excludes once apple/swift-package-manager#152 is merged and released.
from pathkit.
Related Issues (20)
- PathKit wont compile with swift 3.0 snapshot DEVELOPMENT-SNAPSHOT-2016-05-03-a HOT 1
- Swift Package Manager requires Package.swift HOT 2
- Support for Carthage dropped? HOT 6
- Bump the version to 0.7.1 HOT 4
- I want to get the size of the folder, I found this method < Path.filesize >, but I find that the size of the inaccurate, where is the problem HOT 1
- Going from absolute path to relative? HOT 5
- Combining two pathes including step back lead to incorrect path
- New Tag for SPM 4.0 HOT 5
- Glob function issue HOT 4
- Status of Linux support HOT 10
- Future of Project HOT 3
- Support recursive glob '**' HOT 1
- Why use NSString? HOT 3
- Unable to build with Xcode 13 GM HOT 10
- Xcode 13 compiler error HOT 4
- Glob function on windows HOT 2
- PathKit method calls HOT 1
- It has problem when used in App(not SPM or Terminal)
- How to add text to the last line of a text file
- glob method not matching nested subdirectories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathkit.