aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2013-12-08 13:01:18 +0200
committerXhmikosR <[email protected]>2013-12-08 13:23:25 +0200
commitcbfbf1b2dd16b1aa17e3feef9a4643e98a0f967e (patch)
tree1b845510eb4528b07478cfedbe872f03b301bc5a /Gruntfile.js
parentb5613c9af5ed412aace32419378137bf64342203 (diff)
downloadbootstrap-cbfbf1b2dd16b1aa17e3feef9a4643e98a0f967e.tar.xz
bootstrap-cbfbf1b2dd16b1aa17e3feef9a4643e98a0f967e.zip
Add csslint support.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index f7da24f8b..c7277cb98 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -58,6 +58,13 @@ module.exports = function (grunt) {
}
},
+ csslint: {
+ options: {
+ csslintrc: '.csslintrc'
+ },
+ src: ['dist/css/bootstrap.css', 'dist/css/bootstrap-theme.css']
+ },
+
concat: {
options: {
banner: '<%= banner %><%= jqueryCheck %>',
@@ -300,6 +307,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-copy');
+ grunt.loadNpmTasks('grunt-contrib-csslint');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-uglify');