mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
12 lines
235 B
Bash
12 lines
235 B
Bash
|
#!/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
|