-
-
Notifications
You must be signed in to change notification settings - Fork 939
Building Ruffle
Mike Welsh edited this page Sep 14, 2019
·
16 revisions
Ruffle is built using the Rust programming language. The first step to building Ruffle:
- Install Rust for your platform.
Ruffle can be built for Linux, OSX, and Windows using the following commands:
cd desktopcargo run -- testing.swf
Ruffle uses npm and wasm-pack to build for web.
The demo page is a quick way to test SWF content in Ruffle on the web. Run it with these steps:
cd web/demonpm run serve -- --mode=production- Navigate to the indicated page in your browser (usually http://localhost:8080)
-
cd web -
wasm-pack --out-name=ruffle --target=web -
The package scripts are built in the
pkgfolder -
Install Rust for your platform.
-
cd web/demo -
npm run serve -- --mode=production
To run unit and regression tests:
cargo test --all
© 2025 Ruffle Wiki Contributors. View license.