diff --git a/Package.swift b/Package.swift index deb27bb..af39c24 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.5 /** * FTPPublishDeploy @@ -10,19 +10,25 @@ import PackageDescription let package = Package( name: "FTPPublishDeploy", + platforms: [.macOS(.v12)], products: [ .library( name: "FTPPublishDeploy", targets: ["FTPPublishDeploy"]), ], dependencies: [ - .package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"), - .package(url: "https://github.com/johnsundell/publish.git", from: "0.5.0"), - .package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"), + .package(name:"Files", url: "https://github.com/johnsundell/files.git", from: "4.0.0"), + .package(name:"Publish", url: "https://github.com/johnsundell/publish.git", from: "0.9.0"), + .package(name:"ShellOut", url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"), ], targets: [ .target( name: "FTPPublishDeploy", - dependencies: ["Files", "Publish", "ShellOut"]), + dependencies: [ + "Files", + "Publish", + "ShellOut" + ] + ), ] ) diff --git a/README.md b/README.md index d101769..5f513a1 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ Add FTPPublishDeploy to your `Package.swift` file. let package = Package( ... dependencies: [ - .package(url: "https://github.com/dinsen/ftppublishdeploy", from: "0.1.0") + .package(name: "FTPPublishDeploy", url: "https://github.com/ascherbinin/FTPPublishDeploy", from: "0.1.0") ], targets: [ - .target( + .executableTarget( ... dependencies: [ ...