added print folder to gulpfile install
This commit is contained in:
parent
ec1d36f8b9
commit
668da9ac12
|
@ -129,13 +129,7 @@ function install() {
|
||||||
const install = require('gulp-install');
|
const install = require('gulp-install');
|
||||||
const print = require('gulp-print');
|
const print = require('gulp-print');
|
||||||
|
|
||||||
let packageFiles = ['front/package.json'];
|
let packageFiles = ['front/package.json', 'print/package.json'];
|
||||||
let services = fs.readdirSync(servicesDir);
|
|
||||||
services.forEach(service => {
|
|
||||||
let packageJson = `${servicesDir}/${service}/package.json`;
|
|
||||||
if (fs.existsSync(packageJson))
|
|
||||||
packageFiles.push(packageJson);
|
|
||||||
});
|
|
||||||
return gulp.src(packageFiles)
|
return gulp.src(packageFiles)
|
||||||
.pipe(print(filepath => {
|
.pipe(print(filepath => {
|
||||||
return `Installing packages in ${filepath}`;
|
return `Installing packages in ${filepath}`;
|
||||||
|
|
Loading…
Reference in New Issue