script/git-repo should use GitHubProject

This commit is contained in:
Ben Balter 2017-12-27 20:14:58 -05:00
parent a5d614efd0
commit c5505620b6
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ name=$(basename $repo)
dir="./tmp/$name"
rm -Rf "$dir"
git clone --depth 1 --quiet "$repo" "$dir"
bundle exec bin/licensee "$dir"
bundle exec bin/licensee "$repo"
if [ "$2" = "--license" ]; then
git clone --depth 1 --quiet "$repo" "$dir"
license_path=$(bundle exec ./script/license-path $dir)
cat $license_path | bundle exec script/diff $3
fi