overleaf/services/web/install_deps.sh

11 lines
328 B
Bash
Raw Normal View History

#!/bin/bash
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master & TRANSLATIONS=$!
npm run webpack:production & WEBPACK=$!
echo "Waiting for translations and minify to finish"
wait $TRANSLATIONS && echo "Translations install complete" || exit 1
wait $WEBPACK && echo "Webpack complete" || exit 1