From b602d5798e3ae7311ea4fc49db0d7c6570f11a4c Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 8 Apr 2021 09:22:12 +0700 Subject: [PATCH] Add support for SPM (#110) * Add support for spm * Fix trailing_comma --- Package.swift | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..43c1837 --- /dev/null +++ b/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "Omise", + platforms: [ + .iOS(.v10) + ], + products: [ + .library( + name: "Omise", + type: .dynamic, + targets: ["Omise"] + ) + ], + targets: [ + .target( + name: "Omise", + path: "OmiseSwift", + exclude: ["Info-iOS.plist", "Info-OSX.plist", "Omise.h"], + resources: [.process("Resources")] + ) + ] +)