Commit e88dca94 by Renzo Lucioni

Create shallow clones of edX repos

This brings the size of the edx-platform checkout down from 750 MB to 40 MB.
parent 87acf413
...@@ -25,7 +25,7 @@ do ...@@ -25,7 +25,7 @@ do
if [ -d "$name" ]; then if [ -d "$name" ]; then
printf "The [%s] repo is already checked out. Continuing.\n" $name printf "The [%s] repo is already checked out. Continuing.\n" $name
else else
git clone $repo git clone --depth 1 $repo
fi fi
cd - &> /dev/null cd - &> /dev/null
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment