Files
playdate-kit/Examples/HelloPlaydate/Package.swift
T
javier 2e7ee12ec1
CI / Build & test (macOS) (push) Has been cancelled
CI / Embedded Swift cross-compile (push) Has been cancelled
Documentation / deploy (push) Has been cancelled
Adjusted the naming of the library in the Package file.
2026-07-25 12:02:55 +02:00

35 lines
825 B
Swift

// swift-tools-version: 6.4
import PackageDescription
let package = Package(
name: "HelloPlaydate",
products: [
// The Playdate Simulator loads the game as pdex.dylib.
.library(
name: "pdex",
type: .dynamic,
targets: ["HelloPlaydate"]
),
],
dependencies: [
// The explicit name overrides the identity a path dependency
// otherwise derives from the checkout directory's name.
.package(
name: "playdate-kit",
path: "../.."
),
],
targets: [
.target(
name: "HelloPlaydate",
dependencies: [
.product(
name: "PlaydateKit",
package: "playdate-kit"
)
]
),
]
)