Files
playdate-kit/Examples/HelloPlaydate/Package.swift
T
javier c5037dd716 Swift 6.4 migration and exhancements (#1)
This PR contains the work done to update the library and the attached example project to use the Swift 6.4 computer as a minimum supported version and also, to use the latest features introduced in it.

Reviewed-on: #1
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
2026-09-18 13:15:08 +00: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"
)
]
),
]
)