Metrios/full-install.sh

12 lines
296 B
Bash
Executable File

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