mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
1c6ad2b7db
Build changes required for passing secrets into docker build GitOrigin-RevId: 46c221bd0f0e3ec4ec02384afb252c532d688516
14 lines
522 B
Bash
Executable file
14 lines
522 B
Bash
Executable file
#!/bin/bash
|
|
|
|
make --no-print-directory format & FORMAT=$!
|
|
make --no-print-directory lint & LINT=$!
|
|
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master & TRANSLATIONS=$!
|
|
|
|
npm run webpack:production & WEBPACK=$!
|
|
|
|
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 $WEBPACK && echo "Webpack complete" || exit 1
|