Skip to content

Commit a49af97

Browse files
committed
build: add task for submodule
1 parent 91eaade commit a49af97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ check:
3636
openapi:
3737
cargo run --bin openapi-generator > openapi.json
3838

39+
# Initialize and update submodules (for first-time setup)
40+
init-submodules:
41+
git submodule update --init --recursive
42+
43+
# Update git submodules
44+
update-submodules:
45+
git submodule update --remote --merge
46+
3947
# Run all commend in the local environment
4048
all:
4149
just clean

0 commit comments

Comments
 (0)