mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(spellcheck): Don’t include cld sources in build
This commit is contained in:
parent
ccbd717c6e
commit
a4c04b30ee
1 changed files with 4 additions and 3 deletions
|
@ -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)}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue