csslint
This commit is contained in:
parent
bbee27caa9
commit
393255180c
3 changed files with 334 additions and 346 deletions
|
@ -101,6 +101,11 @@ module.exports = function (grunt) {
|
|||
'i18n/zh_CN/LC_MESSAGES/Alltube.mo': 'i18n/zh_CN/LC_MESSAGES/Alltube.po'
|
||||
}
|
||||
}
|
||||
},
|
||||
csslint: {
|
||||
css: {
|
||||
src: 'css/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
@ -117,9 +122,10 @@ module.exports = function (grunt) {
|
|||
grunt.loadNpmTasks('grunt-jsonlint');
|
||||
grunt.loadNpmTasks('grunt-fixpack');
|
||||
grunt.loadNpmTasks('grunt-potomo');
|
||||
grunt.loadNpmTasks('grunt-contrib-csslint');
|
||||
|
||||
grunt.registerTask('default', ['uglify', 'cssmin', 'potomo']);
|
||||
grunt.registerTask('lint', ['jslint', 'fixpack', 'jsonlint', 'phpcs']);
|
||||
grunt.registerTask('lint', ['jslint', 'csslint', 'fixpack', 'jsonlint', 'phpcs']);
|
||||
grunt.registerTask('test', ['phpunit']);
|
||||
grunt.registerTask('doc', ['phpdocumentor']);
|
||||
grunt.registerTask('release', ['default', 'githash', 'compress']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue