diff options
Diffstat (limited to 'pkgs/servers/code-server/remove-node-download.patch')
| -rw-r--r-- | pkgs/servers/code-server/remove-node-download.patch | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/servers/code-server/remove-node-download.patch b/pkgs/servers/code-server/remove-node-download.patch index 282d716752f2..d19d4a2b5bf7 100644 --- a/pkgs/servers/code-server/remove-node-download.patch +++ b/pkgs/servers/code-server/remove-node-download.patch @@ -1,15 +1,16 @@ ---- ./vendor/modules/code-oss-dev/build/gulpfile.reh.js -+++ ./vendor/modules/code-oss-dev/build/gulpfile.reh.js -@@ -277,8 +277,6 @@ +--- ./lib/vscode/build/gulpfile.reh.js ++++ ./lib/vscode/build/gulpfile.reh.js +@@ -268,9 +268,6 @@ .pipe(util.stripSourceMappingURL()) .pipe(jsFilter.restore); -- const nodePath = `.build/node/v${nodeVersion}/${platform}-${platform === 'darwin' ? 'x64' : arch}`; +- const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`; - const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true }); - +- let web = []; if (type === 'reh-web') { -@@ -296,7 +294,6 @@ + web = [ +@@ -287,7 +284,6 @@ license, sources, deps, @@ -17,11 +18,11 @@ ...web ); -@@ -376,7 +373,6 @@ +@@ -385,7 +381,6 @@ const destinationFolderName = `vscode-${type}${dashed(platform)}${dashed(arch)}`; const serverTaskCI = task.define(`vscode-${type}${dashed(platform)}${dashed(arch)}${dashed(minified)}-ci`, task.series( -- gulp.task(`node-${platform}-${platform === 'darwin' ? 'x64' : arch}`), +- gulp.task(`node-${platform}-${arch}`), util.rimraf(path.join(BUILD_ROOT, destinationFolderName)), packageTask(type, platform, arch, sourceFolderName, destinationFolderName) )); |
