Skip to content
Permalink
Browse files

Build/grunt: Fix copy_themes task, files.themes config property wasn'…

…t processed properly
  • Loading branch information
jzaefferer committed Mar 10, 2012
1 parent f8bad04 commit 6f301eab57f888b56bcbe6277a0d584e2aacd508
Showing with 2 additions and 1 deletion.
  1. +2 −1 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);

0 comments on commit 6f301ea

Please sign in to comment.
You can’t perform that action at this time.