Skip to content

Commit 7ff796f

Browse files
committed
Move helper bin dir to the right spot
VS Code moves this as part of their packaging task. We will probably want to look into using theirs instead of replicating it. Fixes coder#4721
1 parent 6e04501 commit 7ff796f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/build/build-release.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ bundle_vscode() {
8282
mkdir -p "$VSCODE_OUT_PATH/resources/"
8383
rsync "$VSCODE_SRC_PATH/resources/" "$VSCODE_OUT_PATH/resources/"
8484

85+
# TODO: We should look into using a different gulp task that does the
86+
# packaging for us (see gulpfile.reh.js). For now copy this directory into
87+
# the right spot so the browser script file is not missing (for some reason VS
88+
# Code uses a different path in production).
89+
mkdir -p "$VSCODE_OUT_PATH/bin"
90+
rsync "$VSCODE_OUT_PATH/resources/server/binm" "$VSCODE_OUT_PATH/bin"
91+
8592
# Add the commit and date and enable telemetry. This just makes telemetry
8693
# available; telemetry can still be disabled by flag or setting.
8794
jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(

0 commit comments

Comments
 (0)