Add '27-01-2021-grepString/grepHomeLibrary.sh'
home-library dep check
This commit is contained in:
parent
ce191006c6
commit
5689a9f011
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
out=`find . -name ‘pom.xml’ -exec grep ‘home-library’ /dev/null {} + || echo 'empty'`
|
||||
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
|
||||
echo "${out}"
|
||||
echo “Home Library found"
|
||||
else
|
||||
echo “Home Library not found"
|
||||
fi
|
Loading…
Reference in New Issue