From e9bcb4637e128d7cd9e78ec38de992fc358720ee Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 28 Oct 2013 14:26:35 -0700 Subject: [PATCH] Only run copy-info-plist on darwin --- tasks/build-task.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/build-task.coffee b/tasks/build-task.coffee index 70a90961e..f6cfdf3cf 100644 --- a/tasks/build-task.coffee +++ b/tasks/build-task.coffee @@ -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...)