mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Separate resources and mac segments before joining
This commit is contained in:
@@ -223,7 +223,7 @@ module.exports = (grunt) ->
|
||||
cp 'static', path.join(APP_DIR, 'static'), filter: /.+\.less$/
|
||||
cp 'themes', path.join(APP_DIR, 'themes'), filter: /.+\.(cson|less)$/
|
||||
|
||||
grunt.file.recurse path.join('resources/mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
|
||||
grunt.file.recurse path.join('resources', 'mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
|
||||
unless /.+\.plist/.test(sourcePath)
|
||||
grunt.file.copy(sourcePath, path.resolve(APP_DIR, '..', subDirectory, filename))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user