2022-11-16 11:25:43 +00:00
|
|
|
--- ./lib/vscode/build/gulpfile.reh.js
|
|
|
|
+++ ./lib/vscode/build/gulpfile.reh.js
|
|
|
|
@@ -268,9 +268,6 @@
|
2022-01-10 00:36:05 +00:00
|
|
|
.pipe(util.stripSourceMappingURL())
|
|
|
|
.pipe(jsFilter.restore);
|
|
|
|
|
2022-11-16 11:25:43 +00:00
|
|
|
- const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`;
|
2022-01-10 00:36:05 +00:00
|
|
|
- const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true });
|
2022-11-16 11:25:43 +00:00
|
|
|
-
|
2022-01-10 00:36:05 +00:00
|
|
|
let web = [];
|
|
|
|
if (type === 'reh-web') {
|
2022-11-16 11:25:43 +00:00
|
|
|
web = [
|
|
|
|
@@ -287,7 +284,6 @@
|
2022-01-10 00:36:05 +00:00
|
|
|
license,
|
|
|
|
sources,
|
|
|
|
deps,
|
|
|
|
- node,
|
|
|
|
...web
|
|
|
|
);
|
|
|
|
|
2022-11-16 11:25:43 +00:00
|
|
|
@@ -385,7 +381,6 @@
|
2022-01-10 00:36:05 +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-11-16 11:25:43 +00:00
|
|
|
- gulp.task(`node-${platform}-${arch}`),
|
2022-01-10 00:36:05 +00:00
|
|
|
util.rimraf(path.join(BUILD_ROOT, destinationFolderName)),
|
|
|
|
packageTask(type, platform, arch, sourceFolderName, destinationFolderName)
|
|
|
|
));
|