mirror of https://github.com/licensee/licensee.git
script/git-repo should shallow clone
This commit is contained in:
parent
6ed519658d
commit
95afae9076
|
@ -5,7 +5,7 @@ repo=$1
|
|||
name=$(basename $repo)
|
||||
dir="./tmp/$name"
|
||||
|
||||
git clone -q "$repo" "$dir"
|
||||
git clone --depth 1 --quiet "$repo" "$dir"
|
||||
bundle exec bin/licensee "$dir"
|
||||
|
||||
rm -Rf "$dir"
|
||||
|
|
Loading…
Reference in New Issue