docs: add test-wasm command to README for running WebAssembly tests

This commit is contained in:
2025-12-30 19:18:42 -06:00
parent f8712b35b8
commit 8d97c29b19

View File

@@ -145,6 +145,7 @@ The project uses [Task](https://taskfile.dev/) for all development and build ope
| build-linux | Build for Linux (amd64, arm64, arm, riscv64) |
| build-all | Build for all Linux architectures |
| build-wasm | Build WebAssembly binary with standard Go compiler |
| test-wasm | Run WebAssembly tests using Node.js |
| run | Run with go run |
| tinygo-build | Build binary with TinyGo compiler |
| tinygo-wasm | Build WebAssembly binary with TinyGo |
@@ -179,6 +180,12 @@ Build WebAssembly binary with standard Go compiler:
task build-wasm
```
Run WebAssembly unit tests (requires Node.js):
```bash
task test-wasm
```
Build with TinyGo:
```bash