Skip to content

Commit 82bad87

Browse files
Update justfile
Dynamic number of CPU cores
1 parent f5f0634 commit 82bad87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ sub:
133133
@echo "To add a submodule:"
134134
@echo "git submodule add https://github.com/username/repo.git path/to/submodule"
135135
@echo "Updating all submodules..."
136-
git submodule update --init --recursive && git pull --recurse-submodules -j8
136+
git submodule update --init --recursive && git pull --recurse-submodules -j$(nproc)
137137

138138
# [git] update pre-commit hooks
139139
pre-commit:

0 commit comments

Comments
 (0)