Added convenience make targets and refined documentation in the HelloPlayDate example target.

This commit is contained in:
2026-07-25 11:33:09 +02:00
parent 988f900c23
commit f04a5ea7df
3 changed files with 48 additions and 21 deletions
+11 -2
View File
@@ -6,7 +6,11 @@ let package = Package(
name: "HelloPlaydate",
products: [
// The Playdate Simulator loads the game as pdex.dylib.
.library(name: "pdex", type: .dynamic, targets: ["HelloPlaydate"]),
.library(
name: "pdex",
type: .dynamic,
targets: ["HelloPlaydate"]
),
],
dependencies: [
.package(path: "../.."),
@@ -14,7 +18,12 @@ let package = Package(
targets: [
.target(
name: "HelloPlaydate",
dependencies: [.product(name: "PlayDate", package: "play-date")]
dependencies: [
.product(
name: "PlayDate",
package: "play-date"
)
]
),
]
)