docs: add test-wasm command to README for running WebAssembly tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user