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',
|
'doctrine:database:drop',
|
||||||
'--force',
|
'--force',
|
||||||
'--env=test',
|
'--env=test',
|
||||||
]))->run();
|
]))->run(function ($type, $buffer) {
|
||||||
|
echo $buffer;
|
||||||
|
});
|
||||||
|
|
||||||
(new Process([
|
(new Process([
|
||||||
'php',
|
'php',
|
||||||
__DIR__ . '/../bin/console',
|
__DIR__ . '/../bin/console',
|
||||||
'doctrine:database:create',
|
'doctrine:database:create',
|
||||||
'--env=test',
|
'--env=test',
|
||||||
]))->mustRun();
|
]))->mustRun(function ($type, $buffer) {
|
||||||
|
echo $buffer;
|
||||||
|
});
|
||||||
|
|
||||||
(new Process([
|
(new Process([
|
||||||
'php',
|
'php',
|
||||||
|
@ -29,7 +33,9 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||||
'--no-interaction',
|
'--no-interaction',
|
||||||
'--env=test',
|
'--env=test',
|
||||||
'-vv',
|
'-vv',
|
||||||
]))->mustRun();
|
]))->mustRun(function ($type, $buffer) {
|
||||||
|
echo $buffer;
|
||||||
|
});
|
||||||
|
|
||||||
(new Process([
|
(new Process([
|
||||||
'php',
|
'php',
|
||||||
|
@ -37,4 +43,6 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||||
'doctrine:fixtures:load',
|
'doctrine:fixtures:load',
|
||||||
'--no-interaction',
|
'--no-interaction',
|
||||||
'--env=test',
|
'--env=test',
|
||||||
]))->mustRun();
|
]))->mustRun(function ($type, $buffer) {
|
||||||
|
echo $buffer;
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in a new issue