From 9ff27e91cf56569137b1590467a6af368846fe06 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 9 Oct 2019 18:26:56 -0700 Subject: [PATCH] clone shallow --- getFNA.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/getFNA.sh b/getFNA.sh index 9ba3ce4..4b07f03 100755 --- a/getFNA.sh +++ b/getFNA.sh @@ -40,7 +40,7 @@ function downloadFNA() { checkGit echo "Downloading FNA..." - git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --recursive + git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --depth 1 --recursive if [ $? -eq 0 ]; then echo "Finished downloading!" else @@ -155,10 +155,10 @@ mv project_name/project_name.csproj.user "project_name/$newProjectName.csproj.us mv project_name "$newProjectName" git init -git submodule add https://github.com/prime31/Nez.git +git submodule add --depth 1 https://github.com/prime31/Nez.git cd Nez git submodule init -git submodule update +git submodule update --depth 1 command -v pbcopy > /dev/null 2>&1 if [ ! $? -eq 0 ]; then