Skip to content

Commit b030ec1

Browse files
committed
Update swift tool
1 parent 2eea8dc commit b030ec1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Package.swift

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.5
22

33
/**
44
* FTPPublishDeploy
5-
* Copyright (c) Brian Dinsen 2020
5+
* Copyright (c) Ti Wu 2023
66
* MIT license, see LICENSE file for details
77
*/
88

99
import PackageDescription
1010

1111
let package = Package(
1212
name: "FTPPublishDeploy",
13+
platforms: [.macOS(.v12)],
1314
products: [
1415
.library(
1516
name: "FTPPublishDeploy",
1617
targets: ["FTPPublishDeploy"]),
1718
],
1819
dependencies: [
1920
.package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
20-
.package(url: "https://github.com/johnsundell/publish.git", from: "0.9.0"),
21+
.package(url: "https://github.com/johnsundell/publish.git", from: "0.8.0"),
2122
.package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
2223
],
2324
targets: [
2425
.target(
2526
name: "FTPPublishDeploy",
26-
dependencies: ["Files", "Publish", "ShellOut"]),
27+
dependencies: [
28+
.product(name: "Files", package: "files"),
29+
.product(name: "Publish", package: "publish"),
30+
.product(name: "ShellOut", package: "shellout")
31+
]
32+
),
2733
]
2834
)

0 commit comments

Comments
 (0)