mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
Show the output of commands in the bootstrap file
This commit is contained in:
parent
99ad390144
commit
369e7b6e04
1 changed files with 12 additions and 4 deletions
|
@ -13,14 +13,18 @@ require __DIR__ . '/../vendor/autoload.php';
|
|||
'doctrine:database:drop',
|
||||
'--force',
|
||||
'--env=test',
|
||||
]))->run();
|
||||
]))->run(function ($type, $buffer) {
|
||||
echo $buffer;
|
||||
});
|
||||
|
||||
(new Process([
|
||||
'php',
|
||||
__DIR__ . '/../bin/console',
|
||||
'doctrine:database:create',
|
||||
'--env=test',
|
||||
]))->mustRun();
|
||||
]))->mustRun(function ($type, $buffer) {
|
||||
echo $buffer;
|
||||
});
|
||||
|
||||
(new Process([
|
||||
'php',
|
||||
|
@ -29,7 +33,9 @@ require __DIR__ . '/../vendor/autoload.php';
|
|||
'--no-interaction',
|
||||
'--env=test',
|
||||
'-vv',
|
||||
]))->mustRun();
|
||||
]))->mustRun(function ($type, $buffer) {
|
||||
echo $buffer;
|
||||
});
|
||||
|
||||
(new Process([
|
||||
'php',
|
||||
|
@ -37,4 +43,6 @@ require __DIR__ . '/../vendor/autoload.php';
|
|||
'doctrine:fixtures:load',
|
||||
'--no-interaction',
|
||||
'--env=test',
|
||||
]))->mustRun();
|
||||
]))->mustRun(function ($type, $buffer) {
|
||||
echo $buffer;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue