Skip to content

Commit

Permalink
add gd dependency to arm mac dependency check for phpbrew
Browse files Browse the repository at this point in the history
  • Loading branch information
ejnshtein committed Jun 6, 2022
1 parent 43b6165 commit d10fd5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const installPHPBrewDependencies = () => ({
if (process.platform === 'darwin') {
const installedDependencies = (await execAsyncSpawn(`${await getBrewCommand({ native: true })} list`)).split('\n');

const dependenciesToInstall = ['php', 'autoconf', 'pkg-config'].filter((dep) => !installedDependencies.includes(dep));
const dependenciesToInstall = ['php', 'autoconf', 'pkg-config', 'gd'].filter((dep) => !installedDependencies.includes(dep));

if (dependenciesToInstall.length === 0) {
task.skip();
Expand Down

0 comments on commit d10fd5b

Please sign in to comment.