mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 13:24:30 +00:00
34 lines
949 B
Swift
34 lines
949 B
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "ProleApp",
|
|
platforms: [
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
.executable(name: "Prole", targets: ["Prole"]) // App binary name
|
|
],
|
|
dependencies: [
|
|
// NozeIO SwiftNIO IRC Client
|
|
.package(url: "https://github.com/NozeIO/swift-nio-irc-client", branch: "main")
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "Prole",
|
|
dependencies: [
|
|
.product(name: "IRC", package: "swift-nio-irc-client")
|
|
],
|
|
path: "Sources",
|
|
resources: [
|
|
// The build script separately copies resources into the app bundle; no SPM resources here.
|
|
],
|
|
linkerSettings: [
|
|
.linkedFramework("AppKit"),
|
|
.linkedFramework("Carbon"),
|
|
.linkedFramework("Network")
|
|
]
|
|
)
|
|
]
|
|
)
|