From a061a112b32a001fa1e8ec89814d4fbc6eb73bd6 Mon Sep 17 00:00:00 2001 From: Tim Ritchey Date: Thu, 19 Dec 2024 12:17:18 -0500 Subject: [PATCH] Add Package.swift --- Package.swift | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..edb913e --- /dev/null +++ b/Package.swift @@ -0,0 +1,21 @@ +// swift-tools-version:5.5 + +import PackageDescription + +let package = Package(name: "AlamofireObjectMapper", + platforms: [.macOS(.v12), + .iOS(.v13), + .tvOS(.v9), + .watchOS(.v2)], + products: [.library(name: "AlamofireObjectMapper", + targets: ["AlamofireObjectMapper"])], + dependencies: [ + .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0"), + .package(url: "https://github.com/tristanhimmelman/ObjectMapper.git", from: "3.5.1") + ], + targets: [.target(name: "AlamofireObjectMapper", + path: "AlamofireObjectMapper"), + .testTarget(name: "AlamofireObjectMapperTests", + dependencies: ["AlamofireObjectMapper"], + path: "Tests")], + swiftLanguageVersions: [.v5])