overleaf/server-ce/bin/compile-services
2021-07-08 11:19:13 +01:00

19 lines
276 B
Bash
Executable file

#! env bash
set -e
node ./config/services.js | \
while read service
do
pushd $service
echo "Compiling Service $service"
case $service in
web)
npm run webpack:production
;;
*)
echo "$service doesn't require a compilation"
;;
esac
popd
done