From 73fcc88e67ce6b54a780f8b182385cec77d5d76a Mon Sep 17 00:00:00 2001 From: Chen Yuanbing <373381941@qq.com> Date: Tue, 20 Oct 2020 10:21:57 +0800 Subject: [PATCH] SPM Support --- 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..7812ea4 --- /dev/null +++ b/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "FDFullscreenPopGesture", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "FDFullscreenPopGesture", + targets: ["FDFullscreenPopGesture"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + .target( + name: "FDFullscreenPopGesture", + path: "FDFullscreenPopGesture", + publicHeadersPath: "." + ) + ] +)