Skip to content

v1.2.0

Choose a tag to compare

@ysdragon ysdragon released this 06 Sep 11:46
9b9ce9e

Ring2APK - v1.2.0

Project setup command plus incremental hash fixes.

Highlights

  • setup command — new ring2apk setup runs the optional :setup entry from ring2apk.ring (one shell command or a list run in order, first failure stops with exit 1). Explicit only, the build never runs it. Empty or missing key = nothing to do. The ringraylib example uses :setup = "ring download_deps.ring", so fresh clones run setup before the first build.
  • hash fix — the incremental hash took 76s just listing files on ringraylib. Now the full hash is ~73ms. Cause: a caller variable sharing a name with a function internal corrupts results in Ring, so listAllFilesEx internals were renamed (dont rename them back). It hashes everything now: ring (.ring + .rh), java, all of src/cpp including vendored checkouts, assets, resources, manifest, and ring2apk.ring itself.

Features

  • commands — add ring2apk setup for executing project setup steps
  • config — add :setup configuration option for project setup commands

Fixes

  • build — hash .rh headers and ring2apk.ring itself; hash all of src/cpp with no exclusions

Refactor

  • utils — simplify listAllFilesEx implementation (bulk merge, hoisted invariants, distinctive internal names)
  • build — simplify sources hash file collection

Docs

  • README — setup command usage instructions, incremental build hash documentation
  • examples — add :setup configuration to ringraylib example

Full Changelog: v1.1.0...v1.2.0