-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
43 lines (40 loc) · 1.3 KB
/
Package.swift
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
41
42
43
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
/// Package definition for GhostingKit, a Swift library for interacting with the Ghost Content API.
///
/// This package provides a convenient way to integrate Ghost content into Swift applications,
/// supporting various Apple platforms including iOS, macOS, tvOS, watchOS, and visionOS.
let package = Package(
name: "GhostingKit",
platforms: [
.iOS(.v16),
.macOS(.v13),
.tvOS(.v16),
.watchOS(.v9),
.visionOS(.v1)
],
products: [
/// The main GhostingKit library product.
///
/// This static library can be integrated into Swift projects to access Ghost Content API functionality.
.library(
name: "GhostingKit",
type: .static,
targets: ["GhostingKit"]
)
],
targets: [
/// The main target for the GhostingKit library.
///
/// This target contains the core functionality for interacting with the Ghost Content API.
.target(name: "GhostingKit"),
/// The test target for GhostingKit.
///
/// This target contains unit tests to ensure the proper functioning of the GhostingKit library.
.testTarget(
name: "GhostingKitTests",
dependencies: ["GhostingKit"]
)
]
)