mirror of https://github.com/licensee/licensee.git
add tiny script to check git repos remotely
This commit is contained in:
parent
a141a488d6
commit
919a2ad012
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
# Runs the licensee command against a remote git repo
|
||||
|
||||
repo=$1
|
||||
name=$(basename $repo)
|
||||
dir="./tmp/$name"
|
||||
|
||||
git clone -q "$repo" "$dir"
|
||||
bundle exec licensee "$dir"
|
||||
|
||||
rm -Rf "$dir"
|
Loading…
Reference in New Issue