shrub/pkg/interface/preinstall.sh
2021-06-15 06:27:47 +10:00

15 lines
257 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 ci
cd ..
fi
done
cd http-api
npm run build