Archived
Merge worktree-agent: add struct literals, generics, print/log builtins
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Build the engram-lang WASM package.
|
||||
#
|
||||
# Requires wasm-pack:
|
||||
# cargo install wasm-pack
|
||||
#
|
||||
# Output: crates/el-wasm/pkg/
|
||||
# el_wasm_bg.wasm — the compiled WebAssembly module
|
||||
# el_wasm.js — ES module JS bindings generated by wasm-bindgen
|
||||
# el_wasm.d.ts — TypeScript type definitions
|
||||
# package.json — npm package metadata
|
||||
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
echo "Building engram-lang WASM runtime..."
|
||||
wasm-pack build --target web --out-dir pkg -- --features wasm
|
||||
|
||||
echo ""
|
||||
echo "Done. Output in crates/el-wasm/pkg/"
|
||||
echo ""
|
||||
ls -lh pkg/*.wasm pkg/*.js 2>/dev/null || ls pkg/
|
||||
Reference in New Issue
Block a user