U
This commit is contained in:
@@ -36,14 +36,17 @@ pushd $FONPATH
|
||||
echo "*** Starting from [`pwd`] ***"
|
||||
echo ""
|
||||
|
||||
find . -mindepth 1 -maxdepth 3 -type d -name '?*' | grep -v 'node_modules' | while read repo
|
||||
find . -mindepth 1 -maxdepth 3 -type d -name '[^.]*' | grep -v 'node_modules' | while read repo
|
||||
do
|
||||
if ( [ -f "$repo/package.json" ] && grep -q '"boot"' "$repo/package.json" )
|
||||
then
|
||||
echo "---- npm booting: [`pwd`/$repo] ----"
|
||||
echo ""
|
||||
echo "---- npm booting: [$repo] ----"
|
||||
echo ""
|
||||
pushd "$repo"
|
||||
npm run boot
|
||||
echo "---- npm booted: [`pwd`/$repo] ----"
|
||||
echo ""
|
||||
echo "---- npm booted: [$repo] ----"
|
||||
echo ""
|
||||
popd
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user