Updates test task

This commit is contained in:
Caio Gondim
2014-12-01 17:51:53 +01:00
parent 4bebaf8a4e
commit b1607b38d9

View File

@@ -6,10 +6,9 @@ module.exports = function(grunt) {
var config = {}; var config = {};
config.lintspaces = { config.lintspaces = {
all: { rest: {
src: [ src: [
'Gruntfile.js', 'Gruntfile.js',
'makefile',
'bullet-train.zsh-theme', 'bullet-train.zsh-theme',
'README.md' 'README.md'
], ],
@@ -21,9 +20,20 @@ module.exports = function(grunt) {
spaces: 2 spaces: 2
} }
}, },
makefile: {
src: [
'makefile'
],
options: {
newline: true,
newlineMaximum: 2,
trailingspaces: true,
indentation: 'tabs'
}
},
}; };
grunt.initConfig(config); grunt.initConfig(config);
grunt.registerTask("test", "lintspaces:all"); grunt.registerTask("test", "lintspaces:makefile", "lintspaces:rest");
}; };