EightFactorial / FrogLight

Apache License 2.0
9 stars 0 forks source link

Tools and Code Generation #14

Open EightFactorial opened 7 months ago

EightFactorial commented 7 months ago

Code Gen

Move code gen to a new repository, linked as a sub module

Makes the repository smaller and cleaner Prevents tool dependencies influencing the main project dependencies


Build tools

Use just as a command runner

Move build commands from vscode yaml to just config

Project commands: just build | just build debug | just build -d alias cargo build -d (debug build) just build release | just build -r alias cargo build -r (release build)

just run | just run debug | just run -d alias cargo run -d (debug run) just run release | just run -r alias cargo run -r (release run)

just fmt alias cargo fmt just deny check for/install deny, cargo deny check just test check for/install nextest, cargo nextest run, cargo test --doc, just deny

just tools check for/download tools submodule Have import? tools/.justfile at the top of .justfile to import tooling commands

Tool commands: Check config file .toml for tool settings, versions to generate files for, etc...

just generate regenerate files with mismatching tooling commit hash just regenerate | just generate -r regenerate all files

EightFactorial commented 7 months ago

Would it be overkill to develop some kind of node-red like interface to organize and manage bevy systems, system sets, and run conditions