2022-04-05 19:45:11 +01:00
|
|
|
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
|
|
|
|
index a44941a1e73..5fc924cb367 100644
|
|
|
|
--- a/build/gulpfile.reh.js
|
|
|
|
+++ b/build/gulpfile.reh.js
|
|
|
|
@@ -265,8 +265,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
2021-11-07 20:54:56 +00:00
|
|
|
.pipe(util.stripSourceMappingURL())
|
|
|
|
.pipe(jsFilter.restore);
|
|
|
|
|
2022-04-05 19:45:11 +01:00
|
|
|
- const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`;
|
2021-11-07 20:54:56 +00:00
|
|
|
- const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true });
|
|
|
|
|
|
|
|
let web = [];
|
|
|
|
if (type === 'reh-web') {
|
2022-04-05 19:45:11 +01:00
|
|
|
@@ -284,7 +282,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
|
2021-11-07 20:54:56 +00:00
|
|
|
license,
|
|
|
|
sources,
|
|
|
|
deps,
|
|
|
|
- node,
|
|
|
|
...web
|
|
|
|
);
|
|
|
|
|
2022-04-05 19:45:11 +01:00
|
|
|
@@ -382,7 +379,6 @@ function tweakProductForServerWeb(product) {
|
2021-11-07 20:54:56 +00:00
|
|
|
const destinationFolderName = `vscode-${type}${dashed(platform)}${dashed(arch)}`;
|
|
|
|
|
|
|
|
const serverTaskCI = task.define(`vscode-${type}${dashed(platform)}${dashed(arch)}${dashed(minified)}-ci`, task.series(
|
2022-04-05 19:45:11 +01:00
|
|
|
- gulp.task(`node-${platform}-${arch}`),
|
2021-11-07 20:54:56 +00:00
|
|
|
util.rimraf(path.join(BUILD_ROOT, destinationFolderName)),
|
|
|
|
packageTask(type, platform, arch, sourceFolderName, destinationFolderName)
|
|
|
|
));
|