mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 04:51:18 +00:00
Merge pull request #1651 from sharelatex/ho-check-exit-codes
Check exit codes of parallel build tasks GitOrigin-RevId: fb242722d8a886c64b61876cfdcbece9bfa987e6
This commit is contained in:
parent
983b1a0f57
commit
494f749e72
1 changed files with 11 additions and 4 deletions
|
@ -1,9 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
WEBPACK_ENV=production make minify
|
||||
make --no-print-directory format
|
||||
make --no-print-directory lint
|
||||
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master
|
||||
make --no-print-directory format & FORMAT=$!
|
||||
make --no-print-directory lint & LINT=$!
|
||||
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master & TRANSLATIONS=$!
|
||||
WEBPACK_ENV=production make minify & MINIFY=$!
|
||||
|
||||
echo "Waiting for lint, format, translations and minify to finish"
|
||||
|
||||
wait $LINT && echo "Lint complete" || exit 1
|
||||
wait $FORMAT && echo "Format complete" || exit 1
|
||||
wait $TRANSLATIONS && echo "Translations install complete" || exit 1
|
||||
wait $MINIFY && echo "Minifiy complete" || exit 1
|
||||
|
||||
chmod -R 0755 /app/public
|
||||
chown -R node:node /app/public
|
||||
|
|
Loading…
Reference in a new issue