shrub/pkg/interface/preinstall.sh

15 lines
257 B
Bash
Raw Normal View History

#!/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
2021-06-14 23:27:47 +03:00
done
cd http-api
npm run build