Skip to content

Commit

Permalink
Update Swift SPM build to use 3.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Aug 5, 2022
1 parent 50a02b8 commit 145766c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions swift/Manual/spm/printer/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PackageDescription
let package = Package(
name: "PrinterDemo",
platforms: [
.macOS(.v10_13),
.macOS(.v10_14),
.iOS(.v12)
],
products: [
Expand All @@ -15,7 +15,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.8.10"),
.package(url: "https://github.com/zeroc-ice/ice-spm.git", "3.7.5" ..< "3.8.0")
.package(url: "https://github.com/zeroc-ice/ice-spm.git", "3.7.8" ..< "3.8.0")
],
targets: [
.target(name: "Client", dependencies: ["Ice", "PromiseKit"]),
Expand Down
13 changes: 7 additions & 6 deletions swift/Manual/spm/printer/Sources/Client/Printer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.5
// Ice version 3.7.8
//
// <auto-generated>
//
Expand All @@ -27,9 +27,9 @@ public struct PrinterTraits: Ice.SliceTraits {
///
/// PrinterPrx Methods:
///
/// - printString:
/// - printString:
///
/// - printStringAsync:
/// - printStringAsync:
public protocol PrinterPrx: Ice.ObjectPrx {}

private final class PrinterPrxI: Ice.ObjectPrxI, PrinterPrx {
Expand Down Expand Up @@ -109,9 +109,9 @@ public extension Ice.InputStream {
///
/// PrinterPrx Methods:
///
/// - printString:
/// - printString:
///
/// - printStringAsync:
/// - printStringAsync:
public extension PrinterPrx {
///
/// - parameter _: `Swift.String`
Expand Down Expand Up @@ -153,6 +153,7 @@ public extension PrinterPrx {
}
}


/// Dispatcher for `Printer` servants.
public struct PrinterDisp: Ice.Disp {
public let servant: Printer
Expand Down Expand Up @@ -193,7 +194,7 @@ public protocol Printer {
///
/// Printer Methods:
///
/// - printString:
/// - printString:
public extension Printer {
func _iceD_printString(incoming inS: Ice.Incoming, current: Ice.Current) throws -> PromiseKit.Promise<Ice.OutputStream>? {
let iceP_s: Swift.String = try inS.read { istr in
Expand Down
13 changes: 7 additions & 6 deletions swift/Manual/spm/printer/Sources/Server/Printer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.5
// Ice version 3.7.8
//
// <auto-generated>
//
Expand All @@ -27,9 +27,9 @@ public struct PrinterTraits: Ice.SliceTraits {
///
/// PrinterPrx Methods:
///
/// - printString:
/// - printString:
///
/// - printStringAsync:
/// - printStringAsync:
public protocol PrinterPrx: Ice.ObjectPrx {}

private final class PrinterPrxI: Ice.ObjectPrxI, PrinterPrx {
Expand Down Expand Up @@ -109,9 +109,9 @@ public extension Ice.InputStream {
///
/// PrinterPrx Methods:
///
/// - printString:
/// - printString:
///
/// - printStringAsync:
/// - printStringAsync:
public extension PrinterPrx {
///
/// - parameter _: `Swift.String`
Expand Down Expand Up @@ -153,6 +153,7 @@ public extension PrinterPrx {
}
}


/// Dispatcher for `Printer` servants.
public struct PrinterDisp: Ice.Disp {
public let servant: Printer
Expand Down Expand Up @@ -193,7 +194,7 @@ public protocol Printer {
///
/// Printer Methods:
///
/// - printString:
/// - printString:
public extension Printer {
func _iceD_printString(incoming inS: Ice.Incoming, current: Ice.Current) throws -> PromiseKit.Promise<Ice.OutputStream>? {
let iceP_s: Swift.String = try inS.read { istr in
Expand Down

0 comments on commit 145766c

Please sign in to comment.