Skip to content

Commit 52bdd01

Browse files
committed
[Update] update Package.swift format
1 parent 33d8de2 commit 52bdd01

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

Package.swift

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// swift-tools-version: 5.6
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
1+
// swift-tools-version: 5.1
32

43
import PackageDescription
54

65
let package = Package(
76
name: "APIWrapper",
87
platforms: [
9-
.macOS(.v10_13),
108
.iOS(.v11),
9+
.macOS(.v10_13),
1110
.tvOS(.v11),
1211
.watchOS(.v4)
1312
],
@@ -18,26 +17,20 @@ let package = Package(
1817
dependencies: [
1918
.package(
2019
url: "https://github.com/Alamofire/Alamofire.git",
21-
.upToNextMajor(from: "5.0.0")
22-
),
20+
.upToNextMajor(from: "5.0.0")),
2321
],
2422
targets: [
2523
.target(
2624
name: "APIWrapper",
2725
path: "Sources/Core"),
2826
.target(
2927
name: "AFAPIWrapper",
30-
dependencies: [
31-
"APIWrapper",
32-
.product(name: "Alamofire", package: "Alamofire")
33-
],
34-
path: "Sources/Alamofire"
35-
),
28+
dependencies: ["APIWrapper", "Alamofire"],
29+
path: "Sources/Alamofire"),
3630
.testTarget(
3731
name: "APIWrapperTests",
3832
dependencies: ["APIWrapper"],
39-
path: "Tests"
40-
),
33+
path: "Tests"),
4134
],
4235
swiftLanguageVersions: [.v5]
4336
)

0 commit comments

Comments
 (0)