mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 23:48:05 +03:00
Don't include .h files from native modules
This commit is contained in:
parent
4ff2429f71
commit
6c736ace1a
@ -50,6 +50,7 @@ module.exports = (grunt) ->
|
|||||||
path.join('pegjs', 'examples')
|
path.join('pegjs', 'examples')
|
||||||
path.join('jasmine-reporters', 'ext')
|
path.join('jasmine-reporters', 'ext')
|
||||||
path.join('jasmine-node', 'node_modules', 'gaze')
|
path.join('jasmine-node', 'node_modules', 'gaze')
|
||||||
|
path.join('nan', 'nan.h')
|
||||||
path.join('build', 'Release', 'obj.target')
|
path.join('build', 'Release', 'obj.target')
|
||||||
path.join('build', 'Release', 'obj')
|
path.join('build', 'Release', 'obj')
|
||||||
path.join('build', 'Release', '.deps')
|
path.join('build', 'Release', '.deps')
|
||||||
@ -64,15 +65,15 @@ module.exports = (grunt) ->
|
|||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('build', 'Release') + path.sep)}.*\\.pdb"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('build', 'Release') + path.sep)}.*\\.pdb"
|
||||||
|
|
||||||
# Ignore *.cc files from native modules
|
# Ignore *.cc files from native modules
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('ctags', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('ctags', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('git-utils', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('git-utils', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('keytar', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('keytar', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('nslog', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('nslog', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('oniguruma', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('oniguruma', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('pathwatcher', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('pathwatcher', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('runas', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('runas', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('scrollbar-style', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('scrollbar-style', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
ignoredPaths.push "#{_.escapeRegExp(path.join('spellchecker', 'src') + path.sep)}.*\\.cc*"
|
ignoredPaths.push "#{_.escapeRegExp(path.join('spellchecker', 'src') + path.sep)}.*\\.(cc|h)*"
|
||||||
|
|
||||||
# Hunspell dictionaries are only not needed on OS X.
|
# Hunspell dictionaries are only not needed on OS X.
|
||||||
if process.platform is 'darwin'
|
if process.platform is 'darwin'
|
||||||
|
Loading…
Reference in New Issue
Block a user