mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
clone shallow
This commit is contained in:
parent
9f7b9a884c
commit
9ff27e91cf
@ -40,7 +40,7 @@ function downloadFNA()
|
|||||||
{
|
{
|
||||||
checkGit
|
checkGit
|
||||||
echo "Downloading FNA..."
|
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
|
if [ $? -eq 0 ]; then
|
||||||
echo "Finished downloading!"
|
echo "Finished downloading!"
|
||||||
else
|
else
|
||||||
@ -155,10 +155,10 @@ mv project_name/project_name.csproj.user "project_name/$newProjectName.csproj.us
|
|||||||
mv project_name "$newProjectName"
|
mv project_name "$newProjectName"
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git submodule add https://github.com/prime31/Nez.git
|
git submodule add --depth 1 https://github.com/prime31/Nez.git
|
||||||
cd Nez
|
cd Nez
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update --depth 1
|
||||||
|
|
||||||
command -v pbcopy > /dev/null 2>&1
|
command -v pbcopy > /dev/null 2>&1
|
||||||
if [ ! $? -eq 0 ]; then
|
if [ ! $? -eq 0 ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user