Skip to content

Commit 58b45c8

Browse files
committed
feat: Switch to SagaPathKit, and the project template now uses Swift 6
1 parent d572957 commit 58b45c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ let package = Package(
1111
.executable(name: "saga", targets: ["SagaCLI"]),
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/kylef/PathKit", from: "1.0.1"),
14+
.package(url: "https://github.com/loopwerk/SagaPathKit", from: "1.4.0"),
1515
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
1616
.package(url: "https://github.com/apple/swift-nio", from: "2.65.0"),
1717
],
1818
targets: [
1919
.executableTarget(
2020
name: "SagaCLI",
2121
dependencies: [
22-
"PathKit",
22+
"SagaPathKit",
2323
.product(name: "ArgumentParser", package: "swift-argument-parser"),
2424
.product(name: "NIOCore", package: "swift-nio"),
2525
.product(name: "NIOPosix", package: "swift-nio"),

Sources/SagaCLI/InitCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import ArgumentParser
2-
import PathKit
2+
import SagaPathKit
33

44
struct Init: ParsableCommand {
55
static let configuration = CommandConfiguration(

Sources/SagaCLI/ProjectTemplate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Foundation
33
enum ProjectTemplate {
44
static func packageSwift(name: String) -> String {
55
"""
6-
// swift-tools-version:5.5
6+
// swift-tools-version:6.0
77
88
import PackageDescription
99

0 commit comments

Comments
 (0)