File tree Expand file tree Collapse file tree 4 files changed +7
-37
lines changed
Expand file tree Collapse file tree 4 files changed +7
-37
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ CARGO_BUILD_JOBS = "{{ num_cpus() }}"
2525[tasks .setup ]
2626description = " One-time development environment setup"
2727run = [
28- " git config core.hooksPath .githooks" ,
29- " git submodule update --init --recursive" ,
28+ " git config submodule.recurse true" ,
29+ " git config fetch.recurseSubmodules on-demand" ,
30+ " git submodule update --init --recursive --remote" ,
3031 " rustup component add rustfmt clippy rust-src rust-analyzer" ,
3132 " rustup toolchain install nightly --component rustfmt" ,
3233 " cargo fetch" ,
Original file line number Diff line number Diff line change 1414
1515``` bash
1616mise trust && mise install
17- mise run setup # Configures git hooks and initializes proto submodule
17+ mise run setup # Configures git and initializes proto submodule
1818```
1919
2020The setup task runs:
21- - ` git config core.hooksPath .githooks ` - Use version-controlled hooks
22- - ` git submodule update --init --recursive ` - Initialize proto submodule
21+ - ` git config submodule.recurse true ` - Auto-update submodules on git commands
22+ - ` git config fetch.recurseSubmodules on-demand ` - Auto-fetch submodule changes
23+ - ` git submodule update --init --recursive --remote ` - Initialize proto submodule
2324- Installs rustfmt, clippy, and nightly toolchain
2425
2526## Build Commands
You can’t perform that action at this time.
0 commit comments