Closed Buckram123 closed 4 months ago
How are you doing the development of this? I'd like to see a justfile with a command to run the generation into a gitignored folder and then run cargo-check. Preferably the command uses cargo-watch so anytime you do a change in the template it generates and tries to compile.
Careful search and replace and then check output with clippy/tests/eyes
This PR aims to make our template
cargo-generate
friendly. Asking for a quick glance, before I fix CI/readme etc @CyberHoward It does make it much more messier and unusable without cargo-generate, so I wonder if that's something we should put into separate repo/branch? It's possible to do search-replace script withrhai
for it (supported by cargo-generate as init/pre/post/ generate hook) and keep this repo clean, but don't think it worth the effort