Moved third_party directory to vendor which will be used for loading the composer dependencies.

This commit is contained in:
Alex Tselegidis 2016-07-11 23:13:24 +02:00
parent 6e08829b6e
commit 7280a5d0c2
34 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,8 @@ var gulp = require('gulp'),
gulp.task('composer', function() {
del.sync([
'./composer',
'./src/application/third_party/**/*',
'!./src/application/third_party/index.html',
'./src/vendor/**/*',
'!./src/vendor/index.html',
]);
exec('composer update && composer install --prefer-dist', function (err, stdout, stderr) {
@ -30,7 +30,7 @@ gulp.task('composer', function() {
'!composer/**/{*.yml,*.md}',
'!composer/codeigniter{,/**}'
])
.pipe(gulp.dest('./src/application/third_party/'));
.pipe(gulp.dest('./src/vendor/'));
});
/**

View file

@ -72,7 +72,7 @@
*
*/
require_once __DIR__ . '/application/third_party/autoload.php';
require_once __DIR__ . '/vendor/autoload.php';
/*
*---------------------------------------------------------------