mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Add frankenphp building message for console output
This commit is contained in:
parent
d495455902
commit
a357510109
@ -29,6 +29,7 @@ trait frankenphp
|
||||
}
|
||||
|
||||
// process --with-frankenphp-app option
|
||||
InteractiveTerm::setMessage('Building frankenphp: ' . ConsoleColor::yellow('processing --with-frankenphp-app option'));
|
||||
$package->runStage([$this, 'processFrankenphpApp']);
|
||||
|
||||
// modules
|
||||
@ -114,7 +115,6 @@ trait frankenphp
|
||||
$frankenphpAppPath = $package->getBuildOption('with-frankenphp-app');
|
||||
|
||||
if ($frankenphpAppPath) {
|
||||
InteractiveTerm::setMessage('Building frankenphp: ' . ConsoleColor::yellow('processing --with-frankenphp-app option'));
|
||||
if (!is_dir($frankenphpAppPath)) {
|
||||
throw new WrongUsageException("The path provided to --with-frankenphp-app is not a valid directory: {$frankenphpAppPath}");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user