mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 21:01:31 +00:00
24 lines
352 B
Text
24 lines
352 B
Text
|
#! env bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
grep 'name:' config/services.js | \
|
||
|
sed 's/.*name: "\(.*\)",/\1/' | \
|
||
|
while read service
|
||
|
do
|
||
|
pushd $service
|
||
|
echo "Compiling Service $service"
|
||
|
case $service in
|
||
|
web)
|
||
|
make compile_full
|
||
|
;;
|
||
|
chat)
|
||
|
echo "$service doesn't require a compilation"
|
||
|
;;
|
||
|
*)
|
||
|
npm run compile:all
|
||
|
;;
|
||
|
esac
|
||
|
popd
|
||
|
done
|