urbit/pkg/interface/preinstall.sh
2021-03-15 13:54:07 -04:00

12 lines
235 B
Bash
Executable File

#!/bin/sh
cd ../npm
for i in $(find . -type d -maxdepth 1) ; do
packageJson="${i}/package.json"
if [ -f "${packageJson}" ]; then
echo "installing ${i}..."
cd ./${i}
npm install
cd ..
fi
done