mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 20:00:38 +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 = {};
|
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");
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user