overleaf/bin/install-services
2021-07-08 11:19:13 +01:00

21 lines
294 B
Bash
Executable file

#! env bash
set -e
node ./config/services.js | \
while read service
do
pushd $service
echo "Installing service $service"
case $service in
web)
# install webpack and friends from dev-dependencies.
npm ci
;;
*)
npm ci --only=production
;;
esac
popd
done