Don't copy vendor/apm to build folder

This is already copied as node_modules/atom-package-manager
This commit is contained in:
Kevin Sawicki
2013-06-24 16:13:56 -07:00
parent 32c2548442
commit fcd0b6839b

View File

@@ -22,7 +22,6 @@ module.exports = (grunt) ->
src: [
'src/**/*.coffee'
'static/**/*.coffee'
'vendor/**/*.coffee'
]
dest: APP_DIR
ext: '.js'
@@ -152,6 +151,7 @@ module.exports = (grunt) ->
ignoredPaths = [
path.join('git-utils', 'deps')
path.join('oniguruma', 'deps')
path.join('vendor', 'apm')
]
ignoredPaths = ignoredPaths.map (ignoredPath) -> "(#{ignoredPath})"
nodeModulesFilter = new RegExp(ignoredPaths.join('|'))