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

Commit 98e4377

Browse files
goddessfreyaAlexander Krotov
andauthored
Provide default value for spellchecker_use_hunspell (#7)
and add "freebsd" case. Co-authored-by: Alexander Krotov <[email protected]>
1 parent 3d27d36 commit 98e4377

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

binding.gyp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
22
'variables': {
33
'conditions': [
4-
['OS=="mac"', {
5-
'spellchecker_use_hunspell%': 'true',
6-
}],
7-
['OS=="linux"', {
8-
'spellchecker_use_hunspell': 'true',
9-
}],
10-
['OS=="win"', {
11-
'spellchecker_use_hunspell': 'true',
12-
}],
4+
['OS=="mac"', { 'spellchecker_use_hunspell%': 'true' },
5+
'OS=="linux"', { 'spellchecker_use_hunspell': 'true'},
6+
'OS=="win"', { 'spellchecker_use_hunspell': 'true' },
7+
'OS=="freebsd"', { 'spellchecker_use_hunspell': 'true' },
8+
{ 'spellchecker_use_hunspell': 'false' }
9+
],
1310
],
1411
},
1512
'target_defaults': {

0 commit comments

Comments
 (0)