From f1fc93e721a12ba477b652da2618661b8944f2ba Mon Sep 17 00:00:00 2001 From: Christopher Rogers Date: Thu, 29 Aug 2019 14:49:17 +0900 Subject: [PATCH] Add support for SwiftPM --- Package.swift | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 00000000..9c07660c --- /dev/null +++ b/Package.swift @@ -0,0 +1,22 @@ +// swift-tools-version:5.1 +import PackageDescription + +let package = Package( + name: "YYText", + platforms: [.iOS(.v8)], + products: [ + .library( + name: "YYText", + targets: ["YYText"]), + ], + targets: [ + .target( + name: "YYText", + path: "YYText", + cSettings: [ + .headerSearchPath("Component"), + .headerSearchPath("String"), + .headerSearchPath("Utility"), + ]), + ] +)