diff --git a/pkgs/id/examples/roc-chat/build.sh b/pkgs/id/examples/roc-chat/build.sh index 14f1e32177..54fb825e3e 100755 --- a/pkgs/id/examples/roc-chat/build.sh +++ b/pkgs/id/examples/roc-chat/build.sh @@ -39,4 +39,5 @@ $WASM_OPT -Os --all-features roc-chat.wasm -o roc-chat.wasm.opt mv roc-chat.wasm.opt roc-chat.wasm $WASM_TOOLS strip roc-chat.wasm -o roc-chat.wasm.stripped mv roc-chat.wasm.stripped roc-chat.wasm +"${WASM_TOOLS}" validate roc-chat.wasm echo "Built roc-chat.wasm (import-free Roc world module)" diff --git a/pkgs/id/examples/roc-grid/build.sh b/pkgs/id/examples/roc-grid/build.sh index 43dc7c451b..c7e17c0638 100755 --- a/pkgs/id/examples/roc-grid/build.sh +++ b/pkgs/id/examples/roc-grid/build.sh @@ -39,4 +39,5 @@ $WASM_OPT -Os --all-features roc-grid.wasm -o roc-grid.wasm.opt mv roc-grid.wasm.opt roc-grid.wasm $WASM_TOOLS strip roc-grid.wasm -o roc-grid.wasm.stripped mv roc-grid.wasm.stripped roc-grid.wasm +"${WASM_TOOLS}" validate roc-grid.wasm echo "Built roc-grid.wasm (import-free Roc world module)"