From 3f8d9caa0c29ab06d0b1ff7b0500ec21571ebedd Mon Sep 17 00:00:00 2001 From: woxtu Date: Sat, 5 Dec 2020 17:15:38 +0900 Subject: [PATCH] Add the package manifest --- Package.swift | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..c496eca --- /dev/null +++ b/Package.swift @@ -0,0 +1,46 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "PinpointKit", + platforms: [ + .iOS(.v9), + ], + products: [ + .library( + name: "PinpointKit", + targets: ["PinpointKit"] + ), + ], + dependencies: [], + targets: [ + .target( + name: "ASLLogger", + dependencies: [], + path: "PinpointKit/PinpointKit/Sources/ASLLogger", + publicHeadersPath: "." + ), + .target( + name: "PinpointKit", + dependencies: [ + "ASLLogger", + ], + path: "PinpointKit/PinpointKit", + exclude: [ + "Info.plist", + "Sources/ASLLogger", + "Sources/Core/ASLLogger.h", + "Sources/Core/ASLLogger.m", + "Sources/Core/SourceSansPro-Semibold.ttf", + "Sources/Core/SourceSansPro-Bold.ttf", + "Sources/Core/SourceSansPro-Regular.ttf", + ], + resources: [ + .copy("Resources/SourceSansPro-Semibold.ttf"), + .copy("Resources/SourceSansPro-Regular.ttf"), + .copy("Resources/SourceSansPro-Bold.ttf"), + ] + ), + ] +)