Contributing Code
Would you like to contribute code to Bevy? Here's how!
How to Contribute #
- Fork the
bevyengine/bevy
repository on GitHub, you'll need to create a GitHub account if you don't have one already.* - Make your changes in a local clone of your fork
- For a higher chance of CI passing the first time, consider locally running
cargo run -p ci
. You can run the commands manually:cargo fmt --all -- --check
(remove--check
to let the command fix found problems)cargo clippy --workspace --all-targets --all-features -- -D warnings -A clippy::type_complexity -A clippy::manual-strip
cargo test --all-targets --workspace
- Push your changes to your fork and open a Pull Request
- Respond to any CI failures or review feedback.
Remember to follow Bevy's Code of Conduct, and thanks for contributing!
*The same steps apply for any other repository in the Bevy organization that you would like to contribute to.