amiibo-service/Package.swift
Javier Cicchelli 68acf82f9d [Feature] Client (#3)
This PR contains the work done to implement the `AmiiboClient` struct that conforms to the `Client` protocol coming from the **Communications** library of the [SwiftLibs package](https://github.com/rock-n-code/swift-libs)

To provide further detailks about the work done:
- [x] added the `parameters` property to all the existing endpoints;
- [x] implemented the `AmiiboClient` client and the `AmiiboClientError` error;
- [x] implemented some static formatters in the `DateFormatter+Formatter` extension;
- [x] updated the `SwiftLibs` package to its latest version.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: #3
2023-04-19 14:33:48 +00:00

42 lines
952 B
Swift

// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "AmiiboService",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v8)
],
products: [
.library(
name: "AmiiboService",
targets: [
"AmiiboService"
]
),
],
dependencies: [
.package(url: "https://github.com/rock-n-code/swift-libs.git", from: "0.1.0")
],
targets: [
.target(
name: "AmiiboService",
dependencies: [
.product(name: "SwiftLibs", package: "swift-libs")
],
path: "Sources"
),
.testTarget(
name: "AmiiboServiceTests",
dependencies: [
"AmiiboService",
.product(name: "SwiftLibs", package: "swift-libs")
],
path: "Tests"
),
]
)