-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGulpfile.js
More file actions
30 lines (27 loc) · 849 Bytes
/
Gulpfile.js
File metadata and controls
30 lines (27 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
var gulp = require('gulp');
var chug = require('gulp-chug');
var argv = require('yargs').argv;
/*
config_admin = [
'--rootPath',
argv.rootPath || '../../../../../../../web/assets/',
'--nodeModulesPath',
'../../../../../../../node_modules/'
];
gulp.task('sylius-admin', function() {
gulp.src('vendor/sylius/sylius/src/Sylius/Bundle/AdminBundle/Gulpfile.js', { read: false })
.pipe(chug({ args: config_admin }));
});
config_shop = [
'--rootPath',
argv.rootPath || '../../../../../../../web/assets/',
'--nodeModulesPath',
'../../../../../../../node_modules/'
];
gulp.task('sylius-shop', function() {
gulp.src('vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Gulpfile.js', { read: false })
.pipe(chug({ args: config_shop }));
});
['sylius-admin', 'sylius-shop']
*/
gulp.task('default', '' );