diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..840fed5 --- /dev/null +++ b/Package.swift @@ -0,0 +1,32 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let version = "4.0.2" +let package = Package( + name: "ZohoDeskPortalKB", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "ZohoDeskPortalKB", + targets: ["ZohoDeskPortalKB", "ZohoDeskPortalKBPackage"]), + ], + dependencies: [ + .package(url: "https://github.com/zoho/ZohoDeskPortalConfiguration.git", exact: "4.0.2") + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .binaryTarget(name: "ZohoDeskPortalKB", url: "https://maven.zohodl.com/ZohoDesk/ZohoDeskPortalKB/\(version)/ZohoDeskPortalKB.zip", checksum: "204c5030d2fba6245b4333ce6323afbaa41735188dd58819336beeeb55422568"), + + .target(name: "ZohoDeskPortalKBPackage", + dependencies: [ + .product(name: "ZohoDeskPortalConfiguration", package: "ZohoDeskPortalConfiguration") + ] + ) + ] +) diff --git a/Sources/ZohoDeskPortalKBPackage/ZohoDeskPortalKB.swift b/Sources/ZohoDeskPortalKBPackage/ZohoDeskPortalKB.swift new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Sources/ZohoDeskPortalKBPackage/ZohoDeskPortalKB.swift @@ -0,0 +1 @@ +