-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathPackage.swift
More file actions
40 lines (39 loc) · 1.13 KB
/
Package.swift
File metadata and controls
40 lines (39 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// swift-tools-version:5.9
import PackageDescription
// Drupal iOS SDK — Swift SDK for the Drupal 10 / 11 RESTful Web Services API.
//
// Ships two products:
// * DrupalIOSSDK — pure-Foundation core (works on iOS, macOS, tvOS, watchOS).
// * DrupalIOSSDKUI — iOS-only UIKit helpers: auth button, login VC, views.
let package = Package(
name: "DrupalIOSSDK",
platforms: [
.iOS(.v15),
.macOS(.v12),
.tvOS(.v15),
.watchOS(.v8)
],
products: [
.library(name: "DrupalIOSSDK", targets: ["DrupalIOSSDK"]),
.library(name: "DrupalIOSSDKUI", targets: ["DrupalIOSSDKUI"])
],
dependencies: [],
targets: [
.target(
name: "DrupalIOSSDK",
path: "Sources/DrupalIOSSDK",
exclude: [
"DrupalIOSSDK.h",
"Info-iOS.plist",
"Info-macOS.plist",
"Info-tvOS.plist",
"Info-watchOS.plist"
]
),
.target(
name: "DrupalIOSSDKUI",
dependencies: ["DrupalIOSSDK"],
path: "Sources/DrupalIOSSDKUI"
)
]
)