From 3771bda471d03a672eee7944c1fe474b6c176f10 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 18 Jun 2013 10:09:16 -0700 Subject: [PATCH] Separate resources and mac segments before joining --- Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 705303d0e..8262719cd 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -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))