2020-04-30 11:52:54 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
2021-09-08 19:05:49 +00:00
|
|
|
# Builds vscode into vendor/modules/code-oss-dev/out-vscode.
|
2020-04-30 11:52:54 +00:00
|
|
|
|
|
|
|
# MINIFY controls whether a minified version of vscode is built.
|
|
|
|
MINIFY=${MINIFY-true}
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "${0}")/../.."
|
2021-09-08 19:05:49 +00:00
|
|
|
|
|
|
|
cd vendor/modules/code-oss-dev
|
2020-04-30 11:52:54 +00:00
|
|
|
|
2021-11-10 05:28:31 +00:00
|
|
|
# Any platform works since we have our own packaging step (for now).
|
|
|
|
yarn gulp "vscode-reh-web-linux-x64${MINIFY:+-min}"
|
2020-04-30 11:52:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|