mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
Remove node deps
No need to install node and npm to test only for whitespaces
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
sudo: false
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.10
|
||||
57
Gruntfile.js
57
Gruntfile.js
@@ -1,57 +0,0 @@
|
||||
module.exports = function(grunt) {
|
||||
"use strict";
|
||||
|
||||
grunt.loadNpmTasks('grunt-lintspaces');
|
||||
grunt.loadNpmTasks('grunt-bump');
|
||||
|
||||
var config = {};
|
||||
|
||||
config.bump = {
|
||||
options: {
|
||||
files: ['package.json'],
|
||||
updateConfigs: [],
|
||||
commit: true,
|
||||
commitMessage: 'Release v%VERSION%',
|
||||
commitFiles: ['package.json'],
|
||||
createTag: true,
|
||||
tagName: 'v%VERSION%',
|
||||
tagMessage: 'Version %VERSION%',
|
||||
push: false,
|
||||
pushTo: 'origin',
|
||||
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
||||
globalReplace: false
|
||||
}
|
||||
};
|
||||
|
||||
config.lintspaces = {
|
||||
rest: {
|
||||
src: [
|
||||
'Gruntfile.js',
|
||||
'bullet-train.zsh-theme',
|
||||
'README.md'
|
||||
],
|
||||
options: {
|
||||
newline: true,
|
||||
newlineMaximum: 2,
|
||||
trailingspaces: true,
|
||||
indentation: 'spaces',
|
||||
spaces: 2
|
||||
}
|
||||
},
|
||||
makefile: {
|
||||
src: [
|
||||
'makefile'
|
||||
],
|
||||
options: {
|
||||
newline: true,
|
||||
newlineMaximum: 2,
|
||||
trailingspaces: true,
|
||||
indentation: 'tabs'
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
grunt.initConfig(config);
|
||||
|
||||
grunt.registerTask("test", "lintspaces:makefile", "lintspaces:rest");
|
||||
};
|
||||
26
package.json
26
package.json
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"name": "bullet-train-oh-my-zsh-theme",
|
||||
"version": "0.0.5",
|
||||
"description": "A Powerline-like theme for oh-my-zsh",
|
||||
"main": "bullet-train.zsh-theme",
|
||||
"scripts": {
|
||||
"test": "grunt test",
|
||||
"bump": "grunt bump"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme.git"
|
||||
},
|
||||
"author": "Caio Gondim",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme/issues"
|
||||
},
|
||||
"homepage": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme",
|
||||
"devDependencies": {
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-bump": "0.0.16",
|
||||
"grunt-cli": "^0.1.13",
|
||||
"grunt-lintspaces": "^0.6.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user