Compare commits

..

1 Commits

Author SHA1 Message Date
T. R. Bernstein
5d164c34f3 Adapt for new repository
Some checks failed
CI / verify-linuxmain (push) Has been cancelled
CI / apple (macos-10.15, iOS) (push) Has been cancelled
CI / apple (macos-10.15, macOS) (push) Has been cancelled
CI / apple (macos-10.15, tvOS) (push) Has been cancelled
CI / apple (macos-10.15, watchOS) (push) Has been cancelled
CI / apple (macos-11, iOS) (push) Has been cancelled
CI / apple (macos-11, macOS) (push) Has been cancelled
CI / apple (macos-11, tvOS) (push) Has been cancelled
CI / apple (macos-11, watchOS) (push) Has been cancelled
CI / linux (swift:4.2) (push) Has been cancelled
CI / linux (swift:5.0) (push) Has been cancelled
CI / linux (swift:5.1) (push) Has been cancelled
CI / linux (swift:5.2) (push) Has been cancelled
CI / linux (swift:5.3) (push) Has been cancelled
CI / linux (swift:5.4) (push) Has been cancelled
CI / linux (swiftlang/swift:nightly-5.5) (push) Has been cancelled
2025-09-30 17:25:19 +02:00
6 changed files with 13 additions and 13 deletions

View File

@@ -4,11 +4,11 @@ import PackageDescription
let package = Package( let package = Package(
name: "swiftpm-pathkit", name: "swiftpm-pathkit",
products: [ products: [
.library(name: "Path", targets: ["Path"]), .library(name: "PathKit", targets: ["PathKit"]),
], ],
targets: [ targets: [
.target(name: "Path", path: "Sources"), .target(name: "PathKit", path: "Sources"),
.testTarget(name: "PathTests", dependencies: ["Path"]), .testTarget(name: "PathTests", dependencies: ["PathKit"]),
], ],
swiftLanguageVersions: [.v4, .v4_2, .version("5")] swiftLanguageVersions: [.v4, .v4_2, .version("5")]
) )

View File

@@ -12,7 +12,7 @@ results.
## Examples ## Examples
```swift ```swift
import Path import PathKit
// convenient static members // convenient static members
let home = Path.home let home = Path.home

View File

@@ -1,5 +1,5 @@
import XCTest import XCTest
import Path import PathKit
extension PathTests { extension PathTests {
func testFindMaxDepth1() throws { func testFindMaxDepth1() throws {

View File

@@ -1,4 +1,4 @@
@testable import Path @testable import PathKit
import func XCTest.XCTAssertEqual import func XCTest.XCTAssertEqual
import Foundation import Foundation
import XCTest import XCTest

View File

@@ -1,4 +1,4 @@
@testable import Path @testable import PathKit
import Foundation import Foundation
class TemporaryDirectory { class TemporaryDirectory {

View File

@@ -1,5 +1,5 @@
import XCTest import XCTest
import Path import PathKit
#if swift(>=5.3) #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) { func XCTAssertEqual<P: Pathish>(_ set1: Set<Path>, _ set2: Set<Path>, _ message: @autoclosure () -> String = "", file: StaticString = #filePath, line: UInt = #line, relativeTo: P) {