Only run copy-info-plist on darwin

This commit is contained in:
Kevin Sawicki 2013-10-28 14:26:35 -07:00
parent e21f1c1394
commit e9bcb4637e

View File

@ -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...)