project_smoke_test
Builds a Pebble project, installs the fresh .pbw on an emulator, and captures the launch screen to verify it runs; failed builds return compiler errors.
Instructions
Build, install, and screenshot a project — the one-call "does it run?".
Builds dir (relative to the workspace root, or absolute); if it builds,
installs the fresh .pbw onto the emulator (kill+wipe-first) and captures
the launch screen. Returns {built, installed, errors[], warnings[],
pbw_path, launch_shot, notes} plus the launch screenshot as an image.
A failed build returns built=false with the compiler errors and skips
install — so this is also the fastest "did my change compile" check.
Requires the pebble CLI on PATH (see capabilities()).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| platform | No | emery |