install_deps.sh 522 B

1234567891011121314
  1. #!/bin/bash
  2. make --no-print-directory format & FORMAT=$!
  3. make --no-print-directory lint & LINT=$!
  4. npm install git+https://github.com/sharelatex/translations-sharelatex.git#master & TRANSLATIONS=$!
  5. npm run webpack:production & WEBPACK=$!
  6. echo "Waiting for lint, format, translations and minify to finish"
  7. wait $LINT && echo "Lint complete" || exit 1
  8. wait $FORMAT && echo "Format complete" || exit 1
  9. wait $TRANSLATIONS && echo "Translations install complete" || exit 1
  10. wait $WEBPACK && echo "Webpack complete" || exit 1