From: vsn4ik Date: Wed, 13 Aug 2014 19:12:09 +0000 (+0400) Subject: Gruntfile.js: Use user-friendly properties. X-Git-Tag: v3.3.0~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14388%2Fhead;p=thirdparty%2Fbootstrap.git Gruntfile.js: Use user-friendly properties. --- diff --git a/Gruntfile.js b/Gruntfile.js index 6c068c49d5..d49ee5f1e3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -155,9 +155,8 @@ module.exports = function (grunt) { sourceMapURL: '<%= pkg.name %>.css.map', sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map' }, - files: { - 'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less' - } + src: 'less/bootstrap.less', + dest: 'dist/css/<%= pkg.name %>.css' }, compileTheme: { options: { @@ -167,9 +166,8 @@ module.exports = function (grunt) { sourceMapURL: '<%= pkg.name %>-theme.css.map', sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map' }, - files: { - 'dist/css/<%= pkg.name %>-theme.css': 'less/theme.less' - } + src: 'less/theme.less', + dest: 'dist/css/<%= pkg.name %>-theme.css' } }, @@ -277,9 +275,8 @@ module.exports = function (grunt) { dest: 'docs/examples/' }, docs: { - files: { - 'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css' - } + src: 'docs/assets/css/src/docs.css', + dest: 'docs/assets/css/src/docs.css' } },