Skip to content

Commit

Permalink
update swift tool versions in Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon committed Aug 30, 2021
1 parent 32f29d7 commit cedaa3c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
"repositoryURL": "https://github.com/ReactiveX/RxSwift.git",
"state": {
"branch": null,
"revision": "b3e888b4972d9bc76495dd74d30a8c7fad4b9395",
"version": "5.0.1"
"revision": "7c17a6ccca06b5c107cfa4284e634562ddaf5951",
"version": "6.2.0"
}
},
{
Expand Down
53 changes: 43 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.3

import PackageDescription

Expand Down Expand Up @@ -35,11 +35,44 @@ let package = Package(
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMajor(from: "9.0.0")) // dev
] + rocketIfNeeded,
targets: [
.target(name: "Moya", dependencies: ["Alamofire"]),
.target(name: "CombineMoya", dependencies: ["Moya"]),
.target(name: "ReactiveMoya", dependencies: ["Moya", "ReactiveSwift"]),
.target(name: "RxMoya", dependencies: ["Moya", "RxSwift"]),
.testTarget(name: "MoyaTests", dependencies: ["Moya", "CombineMoya", "RxMoya", "ReactiveMoya", "Quick", "Nimble", "OHHTTPStubsSwift"]) // dev
.target(
name: "Moya",
dependencies: [
.product(name: "Alamofire", package: "Alamofire")
]
),
.target(
name: "CombineMoya",
dependencies: [
"Moya"
]
),
.target(
name: "ReactiveMoya",
dependencies: [
"Moya",
.product(name: "ReactiveSwift", package: "ReactiveSwift")
]
),
.target(
name: "RxMoya",
dependencies: [
"Moya",
.product(name: "RxSwift", package: "RxSwift")
]
),
.testTarget(
name: "MoyaTests", // dev
dependencies: [
"Moya",
"CombineMoya",
"ReactiveMoya",
"RxMoya",
.product(name: "Quick", package: "Quick"),
.product(name: "Nimble", package: "Nimble"),
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs"),
]
)
]
)

Expand All @@ -48,14 +81,14 @@ import PackageConfig

let config = PackageConfiguration([
"rocket": [
"before": [
"before": [
"scripts/update_changelog.sh",
"scripts/update_podspec.sh"
],
"after": [
],
"after": [
"rake create_release\\[\"$VERSION\"\\]",
"scripts/update_docs_website.sh"
]
]
]
]).write()
#endif

0 comments on commit cedaa3c

Please sign in to comment.