From c0a5a9b5625257a3bc3e392761b15b6878d233ca Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 24 Apr 2016 10:23:50 +0200 Subject: [PATCH] Updated gulp composer task so that it doesn't place codeigniter into the third_party directory. --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 0fe961b2..f8836b40 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,7 @@ gulp.task('composer', function() { '!./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(stderr); }); @@ -27,7 +27,8 @@ gulp.task('composer', function() { '!composer/**/demo{,/**}', '!composer/**/{demo,docs,examples,test,extras,language}{,/**}', '!composer/**/{composer.json,composer.lock,.gitignore}', - '!composer/**/{*.yml,*.md}' + '!composer/**/{*.yml,*.md}', + '!composer/codeigniter{,/**}' ]) .pipe(gulp.dest('./src/application/third_party/')); });