Chapter of https://github.com/richelbilderbeek/bevy_tdd_book
Setup is done as described in the Bevy 'getting started' guide:
git clone https://github.com/richelbilderbeek/bevy_tdd_book_move_camera
cd bevy_tdd_book_move_camera
cargo init
cargo add bevy
To Cargo.toml add:
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
To .cargo/config.toml add:
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
Filename | Descriptions |
---|---|
mlc_config.json | Configuration of the link checker, use markdown-link-check --config mlc_config.json --quiet docs/**/*.md to do link checking locally |
.spellcheck.yml | Configuration of the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally |
.wordlist.txt | Whitelisted words for the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally |
.markdownlint.jsonc | Configuration of the markdown linter, use markdownlint "**/*.md" to do markdown linting locally. The name of this file is a default name. |
.markdownlintignore | Files ignored by the markdown linter, use markdownlint "**/*.md" to do markdown linting locally. The name of this file is a default name. |