Crates.io | playdate-simulator-utils |
lib.rs | playdate-simulator-utils |
version | 0.1.5 |
source | src |
created_at | 2024-04-01 20:11:17.344197 |
updated_at | 2024-04-18 08:05:24.489039 |
description | Cross-platform utils to deal with Playdate Simulator. |
homepage | https://github.com/boozook/playdate |
repository | https://github.com/boozook/playdate.git |
max_upload_size | |
id | 1192924 |
size | 5,821 |
Cross-platform utils to do things with Playdate Simulator.
Usage:
let pdx = PathBuf::from("path/to/my-game.pdx");
let sdk = PathBuf::from("path/to/playdate-sdk");
// Create a future with command execution:
simulator::run::run(&pdx, Some(&sdk)).await;
// Or create a command and do whatever:
let mut cmd = simulator::run::command(&pdx, Some(&sdk)).unwrap();
let stdout = cmd.output().unwrap().stdout;
println!("Sim output: {}", std::str::from_utf8(&stdout).unwrap());
Ensure that env var PLAYDATE_SDK_PATH
points to the SDK root. This is optional, but good move to help the tool to find SDK, and also useful if you have more then one version of SDK.
Early development state.
There is just one method to run pdx with sim now.
This software is not sponsored or supported by Panic.