From 98e43770abd1c92618815a1c816409a8a2f55d66 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 19:52:57 -0700 Subject: [PATCH] Provide default value for spellchecker_use_hunspell (#7) and add "freebsd" case. Co-authored-by: Alexander Krotov --- binding.gyp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/binding.gyp b/binding.gyp index bfb0fa4..3c76df4 100644 --- a/binding.gyp +++ b/binding.gyp @@ -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': {