Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvsn4ik <vsn4ik@gmail.com>2014-08-13 23:12:09 +0400
committervsn4ik <vsn4ik@gmail.com>2014-08-13 23:12:09 +0400
commitda8daa667cad6a872fd16c1e76338e2e7e3e2a9e (patch)
tree159329a911d2e8260656f85d36e88834bb2c7a91 /Gruntfile.js
parenta8437f0d2357368556368cbde1afecda4f0117f3 (diff)
Gruntfile.js: Use user-friendly properties.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js15
1 files changed, 6 insertions, 9 deletions
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'
}
},