Skip to content

feat: add android (Termux) builds#59

Merged
dsherret merged 1 commit into
mainfrom
feat-android
Jun 23, 2026
Merged

feat: add android (Termux) builds#59
dsherret merged 1 commit into
mainfrom
feat-android

Conversation

@dsherret

Copy link
Copy Markdown
Member

Adds aarch64-linux-android and x86_64-linux-android targets, resolving the Termux request (dprint/dprint#972).

What changed

dprint-plugin-exec is a plain process binary (no embedded wasmer), so this is purely build + distribution wiring — no source changes:

  • .github/workflows/ci.ts — added the two android targets as cross: true profiles (cross's built-in NDK images). bionic libc, so there's only one variant per arch (no gnu/musl split). Regenerated ci.generated.yml, which fans out into the matrix, pre-release zip steps, upload-artifact steps, build-job checksum outputs, and the draft-release file/checksum lists.
  • scripts/create_plugin_file.ts & scripts/create_npm_packages.ts — bumped @dprint/automation to 0.12.2 and added the android-aarch64 / android-x86_64 platforms.

Notes

  • Depends on @dprint/automation@0.12.2 (already published to JSR), which adds the android-* Platform variants. The platform keys match the runtime keys added to the dprint CLI's process-plugin resolver (os = "android" + arch).

Verification

  • Both scripts type-check against the published @dprint/automation@0.12.2.
  • dprint check passes on all changed files.

Adds aarch64-linux-android and x86_64-linux-android targets, built with
cross's built-in NDK images. dprint-plugin-exec is a plain process
binary, so this is purely build + distribution wiring: CI matrix
entries, release artifacts, and the android-aarch64/android-x86_64
platforms in the plugin.json and npm package scripts.

Bumps @dprint/automation to 0.12.2 for the new android platform variants.
@dsherret dsherret merged commit 46ec00f into main Jun 23, 2026
15 checks passed
@dsherret dsherret deleted the feat-android branch June 23, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant