Update justfile to include wasm builds
This is necessary to catch all the build errors which can occur in CI.
@@ -21,6 +21,10 @@ crates := '\
integration \
'
+crates_wasm := '\
+ sdks/rust \
+ example/intkey_multiply/processor \
+ '
features := '\
--features=experimental \
@@ -40,6 +44,12 @@ build:
echo "\033[1m$cmd\033[0m"
$cmd
done
+ for crate in $(echo {{crates_wasm}})
+ do
+ cmd="cargo build --target wasm32-unknown-unknown --tests --manifest-path=$crate/Cargo.toml $BUILD_MODE $feature"
+ echo "\033[1m$cmd\033[0m"
+ $cmd
+ done
done
echo "\n\033[92mBuild Success\033[0m\n"
