Skip to content

Commit bd211df

Browse files
committed
Build: Switch from grunt-css to the equivalent grunt-contrib tasks
1 parent f87b4e0 commit bd211df

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ grunt.loadNpmTasks( "grunt-contrib-jshint" );
127127
grunt.loadNpmTasks( "grunt-contrib-uglify" );
128128
grunt.loadNpmTasks( "grunt-contrib-concat" );
129129
grunt.loadNpmTasks( "grunt-contrib-qunit" );
130-
grunt.loadNpmTasks( "grunt-css" );
130+
grunt.loadNpmTasks( "grunt-contrib-csslint" );
131+
grunt.loadNpmTasks( "grunt-contrib-cssmin" );
131132
grunt.loadNpmTasks( "grunt-html" );
132133
grunt.loadNpmTasks( "grunt-compare-size" );
133134
grunt.loadNpmTasks( "grunt-git-authors" );
@@ -354,15 +355,14 @@ grunt.initConfig({
354355
}
355356
},
356357
csslint: {
357-
// nothing: []
358358
// TODO figure out what to check for, then fix and enable
359359
base_theme: {
360360
src: expandFiles( "themes/base/*.css" ).filter(function( file ) {
361361
// TODO remove items from this list once rewritten
362362
return !( /(button|datepicker|core|dialog|theme)\.css$/ ).test( file );
363363
}),
364364
// TODO consider reenabling some of these rules
365-
rules: {
365+
options: {
366366
"adjoining-classes": false,
367367
"import": false,
368368
"outline-none": false,

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"grunt-contrib-uglify": "0.1.1",
5959
"grunt-contrib-concat": "0.1.3",
6060
"grunt-contrib-qunit": "0.1.1",
61-
"grunt-css": "0.5.4",
61+
"grunt-contrib-csslint": "0.1.0",
62+
"grunt-contrib-cssmin": "0.4.2",
6263
"grunt-compare-size": "0.3.1",
6364
"grunt-html": "0.3.3",
6465
"grunt-git-authors": "1.1.0",

0 commit comments

Comments
 (0)