Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@maxbrunsfeld
Copy link
Contributor

Currently, the Hunspell spell-checker implementation is built on Linux and Windows, but not on OSX. On Windows, users can choose to use Hunspell at runtime by setting the SPELLCHECKER_PREFER_HUNSPELL environment variable.

Now, when installing the library on Mac, you can choose to compile it with Hunspell support by running this:

node-gyp rebuild -- -D spellchecker_use_hunspell=true

If you do that, then you can choose Hunspell at runtime via the environment variable, similar to the windows version.

I chose not to include hunspell in the binary by default, since most Mac users won't need it, and it lengthens the build time and the binary size. I just needed so I could work on the Hunspell implementation on my Mac.

/cc @paulcbetts @kevinsawicki

@maxbrunsfeld maxbrunsfeld force-pushed the mb-allow-hunspell-on-mac branch 4 times, most recently from 5664228 to b1fc200 Compare January 6, 2016 20:15
@maxbrunsfeld maxbrunsfeld force-pushed the mb-allow-hunspell-on-mac branch from b1fc200 to cd2f7e3 Compare January 6, 2016 20:26
maxbrunsfeld pushed a commit that referenced this pull request Jan 6, 2016
Allow hunspell implementation to be used on OSX
@maxbrunsfeld maxbrunsfeld merged commit 60870c7 into master Jan 6, 2016
@maxbrunsfeld maxbrunsfeld deleted the mb-allow-hunspell-on-mac branch January 6, 2016 20:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants