more refactor

This commit is contained in:
LiBr
2026-04-10 20:34:14 +08:00
parent 8d31144741
commit 72123cc922
47 changed files with 868 additions and 365 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=./wasm-common.sh
source "$SCRIPT_DIR/wasm-common.sh"
activate_emscripten
if [[ "$(uname -s)" != "Linux" ]]; then
echo "libcurl-wasm upstream only supports Linux builds." >&2
echo "Run this script on Linux, or use orb to enter a Linux environment first." >&2
exit 1
fi
cd "$REPO_ROOT/wasm/libcurl-wasm"
bun run build