From a4c04b30ee48c5fb2770845233239747fa17f603 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 20 Oct 2016 13:45:22 -0700 Subject: [PATCH] =?UTF-8?q?fix(spellcheck):=20Don=E2=80=99t=20include=20cl?= =?UTF-8?q?d=20sources=20in=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/tasks/copy-files-for-build-task.coffee | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/tasks/copy-files-for-build-task.coffee b/build/tasks/copy-files-for-build-task.coffee index 1266b619d..02ea08f1e 100644 --- a/build/tasks/copy-files-for-build-task.coffee +++ b/build/tasks/copy-files-for-build-task.coffee @@ -144,11 +144,12 @@ module.exports = (grunt) -> ignoredPaths.push "#{escapeRegExp(path.sep)}linker\\.lock$" ignoredPaths.push "#{escapeRegExp(path.join('build', 'Release') + path.sep)}.+\\.node\\.dSYM" - # Hunspell dictionaries are only not needed on OS X. - if process.platform is 'darwin' - ignoredPaths.push path.join('spellchecker', 'vendor', 'hunspell_dictionaries') + # https://github.com/paulcbetts/node-cld#warning + ignoredPaths.push path.join('@paulcbetts', 'cld', 'deps', 'cld') + ignoredPaths = ignoredPaths.map (ignoredPath) -> "(#{ignoredPath})" + testFolderPattern = new RegExp("#{escapeRegExp(path.sep)}te?sts?#{escapeRegExp(path.sep)}") exampleFolderPattern = new RegExp("#{escapeRegExp(path.sep)}examples?#{escapeRegExp(path.sep)}")