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 fmtjust deny check for/install deny, cargo deny checkjust 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
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 runnerMove build commands from vscode yaml to
just
configProject commands:
just build
|just build debug
|just build -d
aliascargo build -d
(debug build)just build release
|just build -r
aliascargo build -r
(release build)just run
|just run debug
|just run -d
aliascargo run -d
(debug run)just run release
|just run -r
aliascargo run -r
(release run)just fmt
aliascargo 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 Haveimport? tools/.justfile
at the top of.justfile
to import tooling commandsTool commands: Check config file
.toml
for tool settings, versions to generate files for, etc...just generate
regenerate files with mismatching tooling commit hashjust regenerate
|just generate -r
regenerate all files