# Regenerate the lexicon bindings for both ends from the shared `lexicons/`
# corpus. Run after editing anything under `lexicons/`.
codegen: codegen-rust codegen-ts

# Rust backend bindings -> crates/knotty-lexicons/src
codegen-rust:
    cargo run -p knotty-lexgen

# SPA client bindings -> app/src/generated/lexicons
codegen-ts:
    pnpm --filter app run lexicon:generate
