coverallsapp / coverage-reporter

Self-contained, universal coverage uploader binary. Under development.
https://coveralls.io
MIT License
49 stars 17 forks source link

macOS binary depends on crystal dependencies #1

Closed chaychoong closed 1 year ago

chaychoong commented 3 years ago

How to replicate

  1. Download the binary onto a fresh machine and run it
❯ coveralls -h
dyld: Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib
  Referenced from: /usr/local/bin/coveralls
  Reason: image not found
  1. Run brew install crystal
  2. Issue disappears

Related issues

https://github.com/crystal-lang/crystal/issues/5994

Proposed solution

Distribute the macOS binary with homebrew and include libyaml as a dependency

mrexox commented 1 year ago

Hey! Now coveralls-reporter can be installed from homebrew. Please, try this:

brew tap coverallsapp/coveralls
brew install coveralls

This is the primary method of installation for coveralls-reporter on macOS now. Write back if you face any issues!