Skip to content

chances/playdate-d

Repository files navigation

Playdate D SDK

DUB Package Playdate D SDK CI codecov

D bindings to the Playdate SDK.

Usage

"dependencies": {
    "playdate": "1.13.4"
},
"targetPath": "dist",
"configurations": [
    {
        "name": "simulator",
        "targetName": "pdex",
        "targetType": "dynamicLibrary",
        "postBuildCommands-osx": [
            "mv dist/libpdex.dylib dist/pdex.dylib"
        ],
        "postBuildCommands-linux": [
            "mv dist/libpdex.so dist/pdex.so"
        ],
        "postBuildCommands-posix": [
            "touch dist/pdex.bin",
            "cp views/pdxinfo dist/pdxinfo",
            "$PLAYDATE_SDK_PATH/bin/pdc $PACKAGE_DIR/dist app.pdx"
        ],
        "postBuildCommands-windows": [
            "$PLAYDATE_SDK_PATH/bin/pdc $PACKAGE_DIR/dist app.pdx"
        ]
    },
    {
        "name": "device",
        "targetType": "staticLibrary"
    }
  ]

Version Relation to Playdate SDK

Published versions of this library are guaranteed to align with the Playdate SDK's MAJOR and MINOR versions. For example, version 1.12.3 of the library aligns with 1.12.* versions of the Playdate SDK.