From 7031e547714be960d70f18359523d762f27292e1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 9 Oct 2026 01:29:00 -0700 Subject: 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 --- build.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build.js') diff --git a/build.js b/build.js index bf0b268..ef343f3 100644 --- a/build.js +++ b/build.js @@ -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 -- cgit v1.2.3