Add wait-for-db
This commit is contained in:
parent
0689425da4
commit
1b13421a77
2 changed files with 13 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
|||
},
|
||||
"bin": [
|
||||
"src/Generator/zenderator",
|
||||
"src/Generator/sdkifier"
|
||||
"src/Generator/sdkifier",
|
||||
"src/Generator/wait-for-db",
|
||||
]
|
||||
}
|
||||
|
|
|
|||
11
src/Generator/wait-for-db
Executable file
11
src/Generator/wait-for-db
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use CliArgs\CliArgs;
|
||||
use ⌬\Configuration\Configuration;
|
||||
use ⌬\Database\Zenderator;
|
||||
|
||||
require_once (__DIR__ . "/find-autoloader.php");
|
||||
|
||||
(new ⌬\⌬())::waitForMySQLToBeReady();
|
||||
|
||||
Loading…
Reference in a new issue