diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-10 15:07:53 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-10 15:07:53 +0100 |
commit | 6f301eab57f888b56bcbe6277a0d584e2aacd508 (patch) | |
tree | e8498e99f03715a0d91bff964cf2a85541dc7f6e /grunt.js | |
parent | f8bad0441d58954d60440886964178e80f8ae6ec (diff) | |
download | jquery-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.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |