fix: Add OSX to the conan package
@@ -22,6 +22,11 @@ class CbindgenTestConan(ConanFile):
% (str(self.version)))
tools.download(url, "libpact_mock_server_ffi.a.gz")
tools.unzip("libpact_mock_server_ffi.a.gz")
+ elif self.settings.os == "macOS":
+ url = ("https://github.com/pact-foundation/pact-reference/releases/download/libpact_mock_server_ffi-v%s/libpact_mock_server_ffi-osx-x86_64.a.gz"
+ % (str(self.version)))
+ tools.download(url, "libpact_mock_server_ffi.a.gz")
+ tools.unzip("libpact_mock_server_ffi.a.gz")
else:
raise Exception("Binary does not exist for these settings")
tools.download(("https://github.com/pact-foundation/pact-reference/releases/download/libpact_mock_server_ffi-v%s/pact_mock_server_ffi.h"
