Skip to content

Commit 32b67f0

Browse files
akosyakovjeanp413
authored andcommitted
[build] only pack code and server binaries
1 parent 732318b commit 32b67f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/gulpfile.server.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,10 @@ function defineTasks(options) {
277277
const nodeStream = gulp.src([nodePath], { base: path.dirname(nodePath) });
278278

279279
const resourcesBase = path.join(root, 'resources/' + qualifier);
280-
const binStream = gulp.src([path.join(resourcesBase, '**/*.' + (process.platform === 'win32' ? 'cmd' : 'sh'))], { base: resourcesBase })
280+
const binStream = gulp.src([
281+
path.join(resourcesBase, 'bin/code.' + (process.platform === 'win32' ? 'cmd' : 'sh')),
282+
path.join(resourcesBase, 'server.' + (process.platform === 'win32' ? 'cmd' : 'sh'))
283+
], { base: resourcesBase })
281284
.pipe(util.setExecutableBit(['**/*.sh']))
282285
.pipe(rename(path => {
283286
if (path.basename === 'code' && path.extname === '.sh') {

0 commit comments

Comments
 (0)