mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Only run copy-info-plist on darwin
This commit is contained in:
@@ -58,4 +58,6 @@ module.exports = (grunt) ->
|
||||
unless /.+\.plist/.test(sourcePath)
|
||||
grunt.file.copy(sourcePath, path.resolve(appDir, '..', subDirectory, filename))
|
||||
|
||||
grunt.task.run('compile', 'copy-info-plist')
|
||||
dependencies = ['compile']
|
||||
dependencies.push('copy-info-plist') if process.platform is 'darwin'
|
||||
grunt.task.run(dependencies...)
|
||||
|
||||
Reference in New Issue
Block a user