Make AMPB a bundled browser runtime

This commit is contained in:
jwinterm
2026-07-07 17:05:58 -04:00
parent 8a96957f62
commit e059b134b3
16 changed files with 141 additions and 69 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -eu
root="${AMPB_BROWSER_BUILD_ROOT:-/tmp/ampb-browser-build}"
mkdir -p "$root/src"
mkdir -p "$root/obj"
mkdir -p "$root/cache"
mkdir -p "$root/artifacts"
mkdir -p "$root/logs"
printf 'AMPB_BROWSER_BUILD_ROOT=%s\n' "$root"
printf 'AMPB_BROWSER_SRC=%s\n' "$root/src"
printf 'AMPB_BROWSER_OBJ=%s\n' "$root/obj"
printf 'AMPB_BROWSER_CACHE=%s\n' "$root/cache"
printf 'AMPB_BROWSER_ARTIFACTS=%s\n' "$root/artifacts"
printf 'AMPB_BROWSER_LOGS=%s\n' "$root/logs"