diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 00000000..3b86edac --- /dev/null +++ b/Package.resolved @@ -0,0 +1,60 @@ +{ + "originHash" : "8884c441497e975df09f61623af071e1bae5263aecb75e690c43e8c84a3b6406", + "pins" : [ + { + "identity" : "ably-cocoa", + "kind" : "remoteSourceControl", + "location" : "https://github.com/ably/ably-cocoa", + "state" : { + "revision" : "7f639c609e50053abd4590f34333f9472645558a", + "version" : "1.2.33" + } + }, + { + "identity" : "delta-codec-cocoa", + "kind" : "remoteSourceControl", + "location" : "https://github.com/ably/delta-codec-cocoa", + "state" : { + "revision" : "3ee62ea40a63996b55818d44b3f0e56d8753be88", + "version" : "1.3.3" + } + }, + { + "identity" : "msgpack-objective-c", + "kind" : "remoteSourceControl", + "location" : "https://github.com/rvi/msgpack-objective-C", + "state" : { + "revision" : "3e36b48e04ecd756cb927bd5f5b9bf6d45e475f9", + "version" : "0.4.0" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser", + "state" : { + "revision" : "41982a3656a71c768319979febd796c6fd111d5c", + "version" : "1.5.0" + } + }, + { + "identity" : "swiftformat", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nicklockwood/SwiftFormat", + "state" : { + "revision" : "d6309f7440889427426143b4a0b100b959d3f3e6", + "version" : "0.54.3" + } + }, + { + "identity" : "swiftlintplugins", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SimplyDanny/SwiftLintPlugins", + "state" : { + "revision" : "b8431a26655378581890d56b95a0b59aba9f62da", + "version" : "0.55.1" + } + } + ], + "version" : 3 +} diff --git a/Package.swift b/Package.swift index f719a462..0ea37d64 100644 --- a/Package.swift +++ b/Package.swift @@ -11,10 +11,28 @@ let package = Package( .tvOS(.v12), ], products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "AblyChat", + targets: ["AblyChat"] + ), ], dependencies: [ + .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.0"), + .package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", from: "0.55.1"), + .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.54.0"), + .package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"), ], targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + /*.target(*/ + /*name: "AblyChat", dependencies: [.product(name: "Ably", package: "ably-cocoa")], swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]*/ + /*),*/ + /*.testTarget(*/ + /*name: "AblyChatTests",*/ + /*dependencies: ["AblyChat"]*/ + /*),*/ .executableTarget(name: "BuildTool", dependencies: [], swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]), ] )