mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-01 03:07:33 +07:00
Use shivammathur/extensions tap for grpc, swoole, protobuf on macos
This commit is contained in:
@ -50,13 +50,13 @@ export async function addExtensionDarwin(
|
||||
' ' +
|
||||
ext_prefix;
|
||||
return;
|
||||
// match 5.6xdebug, 7.0xdebug...7.4xdebug, 8.0xdebug
|
||||
case /(5\.6|7\.[0-4]|8\.[0-9])xdebug/.test(version_extension):
|
||||
command = 'add_brew_extension xdebug';
|
||||
break;
|
||||
// match 7.1pcov...7.4pcov, 8.0pcov
|
||||
// match 5.6xdebug to 8.0xdebug, 5.6swoole to 8.0swoole
|
||||
// match 5.6grpc to 7.4grpc, 5.6protobuf to 7.4protobuf
|
||||
// match 7.1pcov to 8.0pcov
|
||||
case /(5\.6|7\.[0-4]|8\.[0-9])(xdebug|swoole)/.test(version_extension):
|
||||
case /(5\.6|7\.[0-4])(grpc|protobuf)/.test(version_extension):
|
||||
case /(7\.[1-4]|8\.[0-9])pcov/.test(version_extension):
|
||||
command = 'add_brew_extension pcov';
|
||||
command = 'add_brew_extension ' + extension_name;
|
||||
break;
|
||||
// match 5.6redis
|
||||
case /5\.6redis/.test(version_extension):
|
||||
|
Reference in New Issue
Block a user