From e990e98a548d0c27a2720a29a1fa2f38ee4e697f Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 1 Sep 2021 15:53:05 +0530 Subject: [PATCH] Use shivammathur/extensions tap to install vips on macOS --- __tests__/extensions.test.ts | 3 ++- dist/index.js | 1 + src/extensions.ts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index 96b53c36..3d694b21 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -162,7 +162,7 @@ describe('Extension tests', () => { it('checking addExtensionOnDarwin', async () => { let darwin: string = await extensions.addExtension( - 'none, amqp, apcu, Xdebug, pcov, grpc, igbinary, imagick, imap, memcache, memcached, mongodb, msgpack, phalcon3, phalcon4, protobuf, psr, rdkafka, redis, swoole, yaml, sqlite, oci8, pdo_oci, :intl, ast-beta, grpc-1.2.3', + 'none, amqp, apcu, Xdebug, pcov, grpc, igbinary, imagick, imap, memcache, memcached, mongodb, msgpack, phalcon3, phalcon4, protobuf, psr, rdkafka, redis, swoole, vips, yaml, sqlite, oci8, pdo_oci, :intl, ast-beta, grpc-1.2.3', '7.2', 'darwin' ); @@ -186,6 +186,7 @@ describe('Extension tests', () => { expect(darwin).toContain('add_brew_extension rdkafka extension'); expect(darwin).toContain('add_brew_extension redis extension'); expect(darwin).toContain('add_brew_extension swoole extension'); + expect(darwin).toContain('add_brew_extension vips extension'); expect(darwin).toContain('add_brew_extension yaml extension'); expect(darwin).toContain('add_extension sqlite3'); expect(darwin).toContain('disable_extension intl'); diff --git a/dist/index.js b/dist/index.js index 95ac905c..462a52aa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -236,6 +236,7 @@ async function addExtensionDarwin(extension_csv, version) { case /(5\.6|7\.[0-4])propro/.test(version_extension): case /(?