Skip to content

Commit ef2c302

Browse files
jonjondevRaelr
authored andcommitted
Updated setup scripts to perform shallow cloning on dependencies
1 parent 91955ff commit ef2c302

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/setup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Get-Files {
3636

3737
function Update-Submodule {
3838
param ([string] $Submodule)
39-
git submodule update --init --recursive $Vendor_Dir/$Submodule
39+
git submodule update --init --recursive --depth 1 $Vendor_Dir/$Submodule
4040
}
4141

4242
function Checkout-Tags {

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ VULKAN_INCLUDE_DIR="${VULKAN_VENDOR_DIR}/include/vulkan"
3737
VOLK_INCLUDE_DIR="${VULKAN_VENDOR_DIR}/include/volk"
3838

3939
update_submodules() {
40-
git submodule update --init --recursive "${VENDOR_DIR}"/"$1"
40+
git submodule update --init --recursive --depth 1 "${VENDOR_DIR}"/"$1"
4141
}
4242

4343
checkout_tags() {

0 commit comments

Comments
 (0)