2020-04-30 13:52:54 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
2022-03-15 03:37:29 +01:00
|
|
|
# Builds vscode into lib/vscode/out-vscode.
|
2020-04-30 13:52:54 +02:00
|
|
|
|
|
|
|
# MINIFY controls whether a minified version of vscode is built.
|
|
|
|
MINIFY=${MINIFY-true}
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "${0}")/../.."
|
2021-09-08 21:05:49 +02:00
|
|
|
|
2022-03-15 03:37:29 +01:00
|
|
|
cd lib/vscode
|
2020-04-30 13:52:54 +02:00
|
|
|
|
2021-11-10 06:28:31 +01: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 13:52:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|