Initial commit

This commit is contained in:
Diego Marcos
2025-05-23 08:52:14 -07:00
committed by Diego Marcos Segura
commit 3332f609a9
129 changed files with 64575 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# Check if "rustup" tool is installed
if ! command -v rustup &> /dev/null; then
echo "Rust tool 'rustup' not found! Please install Rust to build."
echo "Visit Rust installation page: https://www.rust-lang.org/tools/install"
echo "- Likely install one-liner: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
exit 1
fi
cd $(dirname "$0")
# Make sure Rust wasm target is installed
rustup target add wasm32-unknown-unknown
# Make sure wasm-pack is installed
cargo install wasm-pack
cd forge-internal-rs
# Build the project
wasm-pack build --target web