Merge branch 'dev' into test
This commit is contained in:
commit
394f756f2b
|
@ -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