Add support for ext-imagick on darwin

This commit is contained in:
Shivam Mathur
2020-01-21 01:06:31 +05:30
parent e58c704985
commit 5108c81610
3 changed files with 22 additions and 0 deletions

7
dist/index.js vendored
View File

@ -2577,6 +2577,13 @@ function addExtensionDarwin(extension_csv, version, pipe) {
case /5\.6redis/.test(version_extension):
install_command = 'sudo pecl install redis-2.2.8' + pipe;
break;
case /[5-9]\.\dimagick/.test(version_extension):
install_command =
'brew install pkg-config imagemagick' +
pipe +
' && sudo pecl install imagick' +
pipe;
break;
case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension):
install_command =
'sh ' +