diff options
| author | Adam Soltys <[email protected]> | 2026-10-09 01:29:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-09 01:29:00 -0700 |
| commit | 7031e547714be960d70f18359523d762f27292e1 (patch) | |
| tree | faf0273a0cb67ef54090a365770704c02d320585 | |
| parent | ff1a8a72c398c77fbac005f1fde25ad8f43503ef (diff) | |
| download | coinosv3-7031e547714be960d70f18359523d762f27292e1.tar.gz coinosv3-7031e547714be960d70f18359523d762f27292e1.zip | |
Build switches answer only to their COINOS_* names: the HAL_* fallback is gone from build.js and the README (the cs deploy hook now passes COINOS_TARGET; the F-Droid 1.9 recipe keeps HAL_NO_SW because that tag's own build.js is what builds it, and the recipe says so for the next tag)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | build.js | 8 | ||||
| -rw-r--r-- | fdroid/io.coinos.fdroid.yml | 1 |
3 files changed, 6 insertions, 5 deletions
@@ -191,8 +191,6 @@ Other build switches: | `COINOS_TARGET=staging` | mutinynet-first defaults and a visible staging stamp | | `COINOS_NO_SW=1` | no service worker (the bundled Android/F-Droid build) | -The old `HAL_*` names still work. - ## Develop @@ -252,9 +252,11 @@ export async function buildSwNwc({ minify = true } = {}) { return result.outputs[0].text(); } -// Build switches are COINOS_* environment variables. The old HAL_* names still -// work: the cs deploy hook and pinned F-Droid recipes pass them. -const env = (name) => process.env['COINOS_' + name] ?? process.env['HAL_' + name]; +// Build switches are COINOS_* environment variables (COINOS_TARGET, +// COINOS_NO_SW, COINOS_FEATURES, …). The pre-rename HAL_* spellings are gone: +// the cs deploy hook passes COINOS_TARGET, and the F-Droid recipe for a tag +// builds with that tag's own build.js. +const env = (name) => process.env['COINOS_' + name]; // Optional-feature selection: COINOS_FEATURES is a comma list of enabled // features (gifts,ark,zaps,nwc,…). Unset means all; "none"/"" means a minimal diff --git a/fdroid/io.coinos.fdroid.yml b/fdroid/io.coinos.fdroid.yml index e7dff15..03a7373 100644 --- a/fdroid/io.coinos.fdroid.yml +++ b/fdroid/io.coinos.fdroid.yml @@ -37,6 +37,7 @@ Builds: prebuild: - cd ../.. - bun install --frozen-lockfile + # 1.9's build.js knew only HAL_NO_SW; every tag after it builds with COINOS_NO_SW=1 - HAL_NO_SW=1 bun run build scandelete: - node_modules |
