aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-10 15:07:53 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-10 15:07:53 +0100
commit6f301eab57f888b56bcbe6277a0d584e2aacd508 (patch)
treee8498e99f03715a0d91bff964cf2a85541dc7f6e /grunt.js
parentf8bad0441d58954d60440886964178e80f8ae6ec (diff)
downloadjquery-ui-6f301eab57f888b56bcbe6277a0d584e2aacd508.tar.gz
jquery-ui-6f301eab57f888b56bcbe6277a0d584e2aacd508.zip
Build/grunt: Fix copy_themes task, files.themes config property wasn't processed properly
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index cbf3d48a6..585aed809 100644
--- a/grunt.js
+++ b/grunt.js
@@ -441,7 +441,8 @@ task.registerTask('copy_themes', function() {
var files = file.expand('dist/tmp/*/development-bundle/themes/**/*').filter(function(file) {
return !filter.test(file);
});
- var target = 'dist/' + config('files.themes') + '/';
+ // TODO the template.process call shouldn't be necessary
+ var target = 'dist/' + template.process(config('files.themes'), config()) + '/';
files.forEach(function(fileName) {
var targetFile = fileName.replace(/dist\/tmp\/\d+\/development-bundle\//, '').replace("jquery-ui-.custom", "jquery-ui.css");
file.copy(fileName, target + targetFile);