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

Commit

Permalink
Provide default value for spellchecker_use_hunspell (#7)
Browse files Browse the repository at this point in the history
and add "freebsd" case.

Co-authored-by: Alexander Krotov <[email protected]>
  • Loading branch information
goddessfreya and Alexander Krotov authored Dec 20, 2019
1 parent 3d27d36 commit 98e4377
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
'variables': {
'conditions': [
['OS=="mac"', {
'spellchecker_use_hunspell%': 'true',
}],
['OS=="linux"', {
'spellchecker_use_hunspell': 'true',
}],
['OS=="win"', {
'spellchecker_use_hunspell': 'true',
}],
['OS=="mac"', { 'spellchecker_use_hunspell%': 'true' },
'OS=="linux"', { 'spellchecker_use_hunspell': 'true'},
'OS=="win"', { 'spellchecker_use_hunspell': 'true' },
'OS=="freebsd"', { 'spellchecker_use_hunspell': 'true' },
{ 'spellchecker_use_hunspell': 'false' }
],
],
},
'target_defaults': {
Expand Down

0 comments on commit 98e4377

Please sign in to comment.