mirror of
https://github.com/pezkuwichain/pezkuwi-validator-v1.0.0.git
synced 2026-06-19 01:11:02 +00:00
feat: Use shallow clone for faster and more reliable downloads
- Add --depth 1 flag to git clone commands - Reduces download size significantly - Fixes network timeout issues with large repositories - Improves user experience for slow connections
This commit is contained in:
@@ -216,7 +216,7 @@ setup_sdk() {
|
|||||||
git pull origin main || git pull origin master
|
git pull origin main || git pull origin master
|
||||||
else
|
else
|
||||||
echo "Cloning pezkuwi-sdk from GitHub..."
|
echo "Cloning pezkuwi-sdk from GitHub..."
|
||||||
git clone https://github.com/pezkuwichain/pezkuwi-sdk.git
|
git clone --depth 1 https://github.com/pezkuwichain/pezkuwi-sdk.git
|
||||||
cd pezkuwi-sdk
|
cd pezkuwi-sdk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -243,7 +243,7 @@ setup_frontend() {
|
|||||||
else
|
else
|
||||||
echo "Cloning DKSweb from GitHub..."
|
echo "Cloning DKSweb from GitHub..."
|
||||||
# TODO: Replace with actual repository URL
|
# TODO: Replace with actual repository URL
|
||||||
git clone https://github.com/pezkuwichain/DKSweb.git
|
git clone --depth 1 https://github.com/pezkuwichain/DKSweb.git
|
||||||
cd DKSweb
|
cd DKSweb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user