commit 5b0b0e8cdb1f5b6482852ad73fb17d8cb38114de
parent d46c0d9003acf19bb42c69c259f7b01a00b0403b
Author: triesap <tyson@radroots.org>
Date: Sat, 21 Mar 2026 17:41:37 +0000
build: route wasm commands through with-wasm-toolchain.sh
- update the documented wasm check command to use the repo helper from the app root
- update the documented trunk build command to use the helper from crates/web
- update the documented trunk serve command to use the helper from crates/web
- keep the contributor wasm workflow aligned with the working local toolchain path
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
@@ -104,21 +104,21 @@ Run the Android app in the emulator:
Check the wasm application:
```bash
-env -u NO_COLOR cargo check -p radroots-app-web --target wasm32-unknown-unknown
+./scripts/with-wasm-toolchain.sh env -u NO_COLOR cargo check -p radroots-app-web --target wasm32-unknown-unknown
```
Build the wasm application:
```bash
cd crates/web
-env -u NO_COLOR trunk build
+../../scripts/with-wasm-toolchain.sh env -u NO_COLOR trunk build
```
Run the wasm application:
```bash
cd crates/web
-env -u NO_COLOR trunk serve --open
+../../scripts/with-wasm-toolchain.sh env -u NO_COLOR trunk serve --open
```
Test the Apple native security package: