Remove BlockingDriver usage, as parallel has been fixed
This commit is contained in:
5
bin/acme
5
bin/acme
@@ -1,12 +1,10 @@
|
|||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Amp\File\BlockingDriver;
|
|
||||||
use Amp\Loop;
|
use Amp\Loop;
|
||||||
use Auryn\Injector;
|
use Auryn\Injector;
|
||||||
use Kelunik\AcmeClient\AcmeFactory;
|
use Kelunik\AcmeClient\AcmeFactory;
|
||||||
use League\CLImate\CLImate;
|
use League\CLImate\CLImate;
|
||||||
use function Amp\File\filesystem;
|
|
||||||
|
|
||||||
$logo = <<<LOGO
|
$logo = <<<LOGO
|
||||||
____ __________ ___ ___
|
____ __________ ___ ___
|
||||||
@@ -107,9 +105,6 @@ if (!array_key_exists($argv[1], $commands)) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use blocking driver for now, as amphp/parallel doesn't work inside PHARs
|
|
||||||
filesystem(new BlockingDriver);
|
|
||||||
|
|
||||||
/** @var \Kelunik\AcmeClient\Commands\Command $class */
|
/** @var \Kelunik\AcmeClient\Commands\Command $class */
|
||||||
$class = "Kelunik\\AcmeClient\\Commands\\" . ucfirst($argv[1]);
|
$class = "Kelunik\\AcmeClient\\Commands\\" . ucfirst($argv[1]);
|
||||||
$definition = $class::getDefinition();
|
$definition = $class::getDefinition();
|
||||||
|
|||||||
Reference in New Issue
Block a user