Browse Source

fix(windows): build reh [skip ci]

Baptiste Augrain 7 months ago
parent
commit
2aae045dba
1 changed files with 14 additions and 0 deletions
  1. 14 0
      package_windows.sh

+ 14 - 0
package_windows.sh

@@ -26,4 +26,18 @@ node build/azure-pipelines/distro/mixin-npm
 
 yarn gulp "vscode-win32-${VSCODE_ARCH}-min-ci"
 
+if [[ "${VSCODE_ARCH}" == "x64" ]]; then
+  if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
+    echo "Building REH"
+    yarn gulp minify-vscode-reh
+    yarn gulp "vscode-reh-win32-${VSCODE_ARCH}-min-ci"
+  fi
+
+  if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
+    echo "Building REH-web"
+    yarn gulp minify-vscode-reh-web
+    yarn gulp "vscode-reh-web-win32-${VSCODE_ARCH}-min-ci"
+  fi
+fi
+
 cd ..