FedericoCeratto / nim-fswatch

Nim wrapper for the fswatch library
GNU General Public License v3.0
8 stars 1 forks source link

Add support for MacOSX #2

Open mikebelanger opened 4 years ago

mikebelanger commented 4 years ago

This PR adds support for MacOSX users who use Brew. Readme has been updated to reflect that support. Please let me know if this makes sense. Thanks

Stuffe commented 4 years ago

Maybe don't hardcode the path: const libfswatch_fn* = "/usr/local/Cellar/fswatch/1.14.0/lib/libfswatch.11.dylib"

Especially since fswatch 1.15 is now already on brew

mikebelanger commented 4 years ago

Oh that's true, I had no idea there was a new version. What's the alternative to hardcoding the path? Leave it to the user?

ynfle commented 2 years ago

@mikebelanger have you found a solution to this?