No description
  • Shell 66.6%
  • Python 16.9%
  • Rust 16.5%
Find a file Use this template
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Agent 918600108b
Some checks failed
ci / check (push) Has been cancelled
ci / book (push) Has been cancelled
docs(ci): document setup and the lint/type/spell checks
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 17:46:01 -04:00
.cargo build(build): add rust toolchain and cargo output config 2026-07-05 16:55:28 -04:00
.github/workflows ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
assets feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
book feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
scripts ci(ci): add ruff, mypy, and codespell pre-commit hooks 2026-07-05 17:11:15 -04:00
src feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
tests feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
.editorconfig ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
.gitattributes ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
.gitignore ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
.lfsconfig ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
.pre-commit-config.yaml ci(ci): add ruff, mypy, and codespell pre-commit hooks 2026-07-05 17:11:15 -04:00
cargo-generate.toml feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
Cargo.toml.template feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
LICENSE feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
post-generate.rhai feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
README.md.template docs(ci): document setup and the lint/type/spell checks 2026-07-05 17:46:01 -04:00
rust-toolchain.toml build(build): add rust toolchain and cargo output config 2026-07-05 16:55:28 -04:00
rustfmt.toml ci(ci): add Git LFS, LF policy, hooks, and CI 2026-07-05 16:55:28 -04:00
SCOPES.md feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00
setup.sh ci(ci): add setup.sh dependency checker and hook installer 2026-07-05 17:46:01 -04:00
TAGS.md feat(template): scaffold Bevy cargo-generate project 2026-07-05 16:55:28 -04:00

# {{project-name | title_case}}

A Bevy {{project-name}} project generated from a cargo-generate template.

## Layout

    src/lib.rs        game logic (testable library crate)
    src/main.rs       thin binary shim
    src/player.rs     example gameplay module (function-plugin)
    assets/           runtime assets (LFS-tracked, lockable)
    tests/            integration tests against the library crate
    book/             mdbook documentation (builds to build/book)
    build/            all build output (gitignored)

## Setting up

Run `./setup.sh` to check that the toolchain (Rust, pre-commit, Git LFS, ...) is
installed -- it prints install hints for your platform, then enables Git LFS and
installs the pre-commit hooks. Use `./setup.sh --check` to verify only, making no
changes. The manual equivalent of the wiring step is:

    git lfs install
    pre-commit install --install-hooks -t pre-commit -t commit-msg -t pre-push

## Develop

- `cargo run`                 launch the game (dev feature = fast iteration)
- `cargo test --all-features` run unit + integration tests
- `cargo fmt` / `cargo clippy` format and lint
- `mdbook build book`         build docs into build/book

Cargo output is redirected to `build/` via `.cargo/config.toml`.

## Committing

`git agent-commit -m "type(scope): subject"` with a scope from `SCOPES.md`. All
pre-commit hooks must pass (no `--no-verify`): ruff, mypy and codespell (Python
and prose), cargo fmt and clippy (Rust), a Conventional Commits check on the
message, and cargo test on push.