-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
27 lines (26 loc) · 1.02 KB
/
Copy pathPackage.swift
File metadata and controls
27 lines (26 loc) · 1.02 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
// swift-tools-version:5.9
// Qub.app — SwiftPM so the shell can embed Lua (LuaSwift). The .app bundle is
// still hand-assembled + Developer-ID signed by build.sh; SwiftPM only produces
// the executable. tools-version 5.9 keeps Swift 5 language mode (no Swift-6
// strict-concurrency breakage on the existing AppKit code).
import PackageDescription
let package = Package(
name: "Qub",
// string form: `.v15` needs tools-version 6.0, which would switch on Swift-6
// strict concurrency and break the existing AppKit code. 15.0 unlocks MeshGradient.
platforms: [.macOS("15.0")],
dependencies: [
.package(url: "https://github.com/tomsci/LuaSwift", branch: "main"),
.package(url: "https://github.com/EmergeTools/Pow", from: "1.0.0"),
],
targets: [
.executableTarget(
name: "Qub",
dependencies: [
.product(name: "Lua", package: "LuaSwift"),
.product(name: "Pow", package: "Pow"),
],
path: "native"
),
]
)