|
1 | | -// swift-tools-version:5.1 |
| 1 | +// swift-tools-version:5.5 |
2 | 2 |
|
3 | 3 | /** |
4 | 4 | * FTPPublishDeploy |
5 | | -* Copyright (c) Brian Dinsen 2020 |
| 5 | +* Copyright (c) Ti Wu 2023 |
6 | 6 | * MIT license, see LICENSE file for details |
7 | 7 | */ |
8 | 8 |
|
9 | 9 | import PackageDescription |
10 | 10 |
|
11 | 11 | let package = Package( |
12 | 12 | name: "FTPPublishDeploy", |
| 13 | + platforms: [.macOS(.v12)], |
13 | 14 | products: [ |
14 | 15 | .library( |
15 | 16 | name: "FTPPublishDeploy", |
16 | 17 | targets: ["FTPPublishDeploy"]), |
17 | 18 | ], |
18 | 19 | dependencies: [ |
19 | 20 | .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"), |
21 | 22 | .package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"), |
22 | 23 | ], |
23 | 24 | targets: [ |
24 | 25 | .target( |
25 | 26 | 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 | + ), |
27 | 33 | ] |
28 | 34 | ) |
0 commit comments