soi-package

command
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

soi-package — Package a SOI WASM plugin into a distributable .zip file.

Supports both standard Go WASM (.wasm) and TinyGo SOI (.soi) plugins. Optionally optimizes WASM output with wasm-opt (from Binaryen).

Usage:

go run ./cmd/soi-package --dir ./examples/calc
go run ./cmd/soi-package --dir ./examples/calc --output ./dist
go run ./cmd/soi-package --dir ./examples/calc --skip-build  // skip WASM re-compile
go run ./cmd/soi-package --dir ./examples/soi-demo --type soi  // force SOI type
go run ./cmd/soi-package --dir ./examples/soi-demo --optimize  // run wasm-opt after build
go run ./cmd/soi-package --dir ./examples/soi-demo --skip-sync  // skip skill.yaml sync

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL