mirror of https://github.com/licensee/licensee.git
script/git-repo should use GitHubProject
This commit is contained in:
parent
a5d614efd0
commit
c5505620b6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue