Updated gulp composer task so that it doesn't place codeigniter into the third_party directory.

This commit is contained in:
Alex Tselegidis 2016-04-24 10:23:50 +02:00
parent c6bf850907
commit c0a5a9b562
1 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ gulp.task('composer', function() {
'!./src/application/third_party/index.html', '!./src/application/third_party/index.html',
]); ]);
exec('composer install --no-dev --prefer-dist', function (err, stdout, stderr) { exec('composer update && composer install --prefer-dist', function (err, stdout, stderr) {
console.log(stdout); console.log(stdout);
console.log(stderr); console.log(stderr);
}); });
@ -27,7 +27,8 @@ gulp.task('composer', function() {
'!composer/**/demo{,/**}', '!composer/**/demo{,/**}',
'!composer/**/{demo,docs,examples,test,extras,language}{,/**}', '!composer/**/{demo,docs,examples,test,extras,language}{,/**}',
'!composer/**/{composer.json,composer.lock,.gitignore}', '!composer/**/{composer.json,composer.lock,.gitignore}',
'!composer/**/{*.yml,*.md}' '!composer/**/{*.yml,*.md}',
'!composer/codeigniter{,/**}'
]) ])
.pipe(gulp.dest('./src/application/third_party/')); .pipe(gulp.dest('./src/application/third_party/'));
}); });