-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
49 lines (47 loc) · 1.42 KB
/
Package.swift
File metadata and controls
49 lines (47 loc) · 1.42 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
41
42
43
44
45
46
47
48
49
// swift-tools-version: 5.9
//
// Package.swift
// PandyEditor 🐼
//
// A shareable, high-performance code editor library for iOS.
// Engineered to Strict FiveKit Compliance.
//
// ICON: Assets/icon.jpg - The PandaEditor mascot
//
// STRICT FIVEKIT COMPLIANCE:
// 1. Dependency Management: Explicitly declares FiveKit dependency.
// 2. Platform Support: Targets iOS 15+ for ProMotion and modern APIs.
// 3. Resource Bundling: Assets folder included for icon and branding.
//
import PackageDescription
let package = Package(
name: "PandyEditor",
platforms: [
.iOS(.v15)
],
products: [
.library(
name: "PandyEditor",
targets: ["PandyEditor"]),
],
dependencies: [
// FiveKit: FiveSheep's in-house app development toolkit
// Provides FoundationPlus (String subscripts, .negated, etc.) and SwiftUIElements
.package(url: "https://github.com/FiveSheepCo/FiveKit.git", branch: "main"),
],
targets: [
.target(
name: "PandyEditor",
dependencies: [
.product(name: "FiveKit", package: "FiveKit"),
],
path: "Sources/PandyEditor",
resources: [
// Bundle the icon for use in consuming apps
.copy("Resources/icon.jpg")
]),
.testTarget(
name: "PandyEditorTests",
dependencies: ["PandyEditor"]),
]
)