From bfe86508f6037f4547fc71b3a873e4f7fceeedd0 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 8 Jul 2020 13:53:50 +0100 Subject: [PATCH] Use `from` instead of `upToNextMinor` for OpenCombine (#34) This comes after I was reminded that we're using an old version in https://github.com/swiftwasm/carton/pull/33. --- Package.swift | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index ce74f5e..b455775 100644 --- a/Package.swift +++ b/Package.swift @@ -8,14 +8,21 @@ let package = Package( platforms: [.macOS(.v10_15)], dependencies: [ .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.1.1"), - .package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.2.0")), - .package(url: "https://github.com/apple/swift-tools-support-core.git", .upToNextMinor(from: "0.1.3")), - .package(url: "https://github.com/OpenCombine/OpenCombine.git", .upToNextMinor(from: "0.10.0")), + .package( + url: "https://github.com/apple/swift-argument-parser", + .upToNextMinor(from: "0.2.0") + ), + .package( + url: "https://github.com/apple/swift-tools-support-core.git", + .upToNextMinor(from: "0.1.3") + ), + .package(url: "https://github.com/OpenCombine/OpenCombine.git", from: "0.10.0"), .package(url: "https://github.com/vapor/vapor.git", .upToNextMinor(from: "4.5.0")), ], targets: [ - // Targets are the basic building blocks of a package. A target can define a module or a test suite. - // Targets can depend on other targets in this package, and on products in packages which this package depends on. + // Targets are the basic building blocks of a package. A target can define a module + // or a test suite. Targets can depend on other targets in this package, and on + // products in packages which this package depends on. .target( name: "carton", dependencies: [