Skip to content

Commit

Permalink
Merge pull request #231 from teohhanhui/remove/gulpfile-vendorPath-ov…
Browse files Browse the repository at this point in the history
…erride

Remove vendorPath command-line argument from root gulpfile
  • Loading branch information
pamil authored Jun 1, 2018
2 parents fc498bf + 110c2f0 commit c18a869
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import chug from 'gulp-chug';
import gulp from 'gulp';
import upath from 'path';
import yargs from 'yargs';

const { argv } = yargs
Expand All @@ -11,12 +10,6 @@ const { argv } = yargs
requiresArg: true,
required: false,
},
vendorPath: {
description: '<path> path to vendor directory',
type: 'string',
requiresArg: true,
required: false,
},
nodeModulesPath: {
description: '<path> path to node_modules directory',
type: 'string',
Expand All @@ -28,10 +21,6 @@ const { argv } = yargs
const config = [
'--rootPath',
argv.rootPath || '../../../../../../../web/assets',
...(argv.vendorPath ? [
'--vendorPath',
upath.joinSafe(argv.vendorPath, 'sylius/sylius/src/Sylius/Bundle'),
] : []),
'--nodeModulesPath',
argv.nodeModulesPath || '../../../../../../../node_modules',
];
Expand Down

0 comments on commit c18a869

Please sign in to comment.