mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 03:40:41 +01:00
Updates test task
This commit is contained in:
16
Gruntfile.js
16
Gruntfile.js
@@ -6,10 +6,9 @@ module.exports = function(grunt) {
|
||||
var config = {};
|
||||
|
||||
config.lintspaces = {
|
||||
all: {
|
||||
rest: {
|
||||
src: [
|
||||
'Gruntfile.js',
|
||||
'makefile',
|
||||
'bullet-train.zsh-theme',
|
||||
'README.md'
|
||||
],
|
||||
@@ -21,9 +20,20 @@ module.exports = function(grunt) {
|
||||
spaces: 2
|
||||
}
|
||||
},
|
||||
makefile: {
|
||||
src: [
|
||||
'makefile'
|
||||
],
|
||||
options: {
|
||||
newline: true,
|
||||
newlineMaximum: 2,
|
||||
trailingspaces: true,
|
||||
indentation: 'tabs'
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
grunt.initConfig(config);
|
||||
|
||||
grunt.registerTask("test", "lintspaces:all");
|
||||
grunt.registerTask("test", "lintspaces:makefile", "lintspaces:rest");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user