forked from mirrors/easyappointments
Updated gulp composer task so that it doesn't place codeigniter into the third_party directory.
This commit is contained in:
parent
c6bf850907
commit
c0a5a9b562
1 changed files with 3 additions and 2 deletions
|
@ -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/'));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue