Compare commits
1 Commits
3a7b57d10e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d164c34f3 |
@@ -4,11 +4,11 @@ import PackageDescription
|
||||
let package = Package(
|
||||
name: "swiftpm-pathkit",
|
||||
products: [
|
||||
.library(name: "Path", targets: ["Path"]),
|
||||
.library(name: "PathKit", targets: ["PathKit"]),
|
||||
],
|
||||
targets: [
|
||||
.target(name: "Path", path: "Sources"),
|
||||
.testTarget(name: "PathTests", dependencies: ["Path"]),
|
||||
.target(name: "PathKit", path: "Sources"),
|
||||
.testTarget(name: "PathTests", dependencies: ["PathKit"]),
|
||||
],
|
||||
swiftLanguageVersions: [.v4, .v4_2, .version("5")]
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ results.
|
||||
## Examples
|
||||
|
||||
```swift
|
||||
import Path
|
||||
import PathKit
|
||||
|
||||
// convenient static members
|
||||
let home = Path.home
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import XCTest
|
||||
import Path
|
||||
import PathKit
|
||||
|
||||
extension PathTests {
|
||||
func testFindMaxDepth1() throws {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@testable import Path
|
||||
@testable import PathKit
|
||||
import func XCTest.XCTAssertEqual
|
||||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@testable import Path
|
||||
@testable import PathKit
|
||||
import Foundation
|
||||
|
||||
class TemporaryDirectory {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import XCTest
|
||||
import Path
|
||||
import PathKit
|
||||
|
||||
#if swift(>=5.3)
|
||||
func XCTAssertEqual<P: Pathish>(_ set1: Set<Path>, _ set2: Set<Path>, _ message: @autoclosure () -> String = "", file: StaticString = #filePath, line: UInt = #line, relativeTo: P) {
|
||||
|
||||
Reference in New Issue
Block a user