-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
A-BuildRelated to the bevy build commandRelated to the bevy build commandA-CLIRelated to the main CLI and not a more specific subcommandRelated to the main CLI and not a more specific subcommandA-WebBuilding or running Bevy apps targeting the browserBuilding or running Bevy apps targeting the browserC-BugA bug in the programA bug in the programS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Description
cargo build can build multiple packages at once.
bevy build web only partially supports this: As it wraps cargo build, all the Wasm binaries will be built as intended, but the bindgen creation and folder bundling currently uses the bevy run web logic and only selects a single target.
Instead, we should create the bindings and bundle the folders for all binaries compiled by cargo build.
Note that we should only do this for binary targets (and examples), not libraries, benchmarks and tests.
Metadata
Metadata
Assignees
Labels
A-BuildRelated to the bevy build commandRelated to the bevy build commandA-CLIRelated to the main CLI and not a more specific subcommandRelated to the main CLI and not a more specific subcommandA-WebBuilding or running Bevy apps targeting the browserBuilding or running Bevy apps targeting the browserC-BugA bug in the programA bug in the programS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!