From dc786e9fe324c70bf0f06b1472024ea1974134c2 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 9 Sep 2025 06:54:35 +0200 Subject: [PATCH] Improved the readability of the Package file. --- Package.swift | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/Package.swift b/Package.swift index 041d9d2..a46f6f0 100644 --- a/Package.swift +++ b/Package.swift @@ -26,44 +26,24 @@ let package = Package( products: [ .library( name: AmiiboService.package, - targets: [ - AmiiboService.target - ] + targets: [AmiiboService.target] ) ], dependencies: [ - .package( - url: "https://github.com/apple/swift-openapi-generator.git", - from: "1.3.0" - ), - .package( - url: "https://github.com/apple/swift-openapi-runtime", - from: "1.5.0" - ), - .package( - url: "https://github.com/apple/swift-openapi-urlsession", - from: "1.0.2" - ) + .package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.3.0"), + .package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.5.0"), + .package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.2") ], targets: [ .target( name: AmiiboService.target, dependencies: [ - .product( - name: "OpenAPIRuntime", - package: "swift-openapi-runtime" - ), - .product( - name: "OpenAPIURLSession", - package: "swift-openapi-urlsession" - ) + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession") ], path: "Sources", plugins: [ - .plugin( - name: "OpenAPIGenerator", - package: "swift-openapi-generator" - ), + .plugin(name: "OpenAPIGenerator", package: "swift-openapi-generator"), ] ), .testTarget(