Metrios/full-install.sh

12 lines
296 B
Bash
Raw Normal View History

2021-05-09 18:25:41 +00:00
npm install
echo "Installing dependencies of modules"
for d in modules/* ; do
if test -f "$d/package.json"; then
echo "$d is a node module, installing dependencies"
( cd $d && npm install )
else
echo "$d does not appear to be a node module, skipping"
fi
done