mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[misc] fix listing of services for bin/ scripts
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
|
||||
set -e
|
||||
|
||||
grep 'name:' config/services.js | \
|
||||
sed 's/.*name: "\(.*\)",/\1/' | \
|
||||
node ./config/services.js | \
|
||||
while read service
|
||||
do
|
||||
pushd $service
|
||||
echo "Compiling Service $service"
|
||||
case $service in
|
||||
case $service in
|
||||
web)
|
||||
npm run webpack:production
|
||||
;;
|
||||
*)
|
||||
echo "$service doesn't require a compilation"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
popd
|
||||
done
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
grep 'name:' config/services.js | \
|
||||
sed 's/.*name: "\(.*\)",/\1/' | \
|
||||
node ./config/services.js | \
|
||||
while read service
|
||||
do
|
||||
pushd $service
|
||||
|
||||
Reference in New Issue
Block a user