examples: run native build script

Use the package build command when refreshing host artifacts so the examples build follows the supported native build workflow.
This commit is contained in:
Simon Klee
2026-08-20 13:29:31 +02:00
parent 6e09f4b68b
commit 27cdb18e8e
+1 -1
View File
@@ -135,7 +135,7 @@ if (usePrebuiltArtifacts) {
console.log("✅ Prebuilt native opentui packages verified")
} else if (buildHostOnly) {
console.log("Refreshing the host native opentui package...")
await Bun.$`bun ${join(coreRoot, "scripts", "build.ts")} --native`
await Bun.$`bun run build:native`.cwd(coreRoot)
verifyNativePackages(buildTargets)
console.log("✅ Host native package refreshed")
} else if (canBuildLocalNativePackagesForAllTargets) {