Merge branch 'dev' into test

This commit is contained in:
Joan Sanchez 2019-01-22 11:18:26 +01:00
commit 394f756f2b
1 changed files with 1 additions and 7 deletions

View File

@ -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}`;