Commit 449ccfe1 authored by Vadim Makeev's avatar Vadim Makeev

Gruntfile for bumping versions or anything else in the future

parent 345f08ae
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
.gitignore .gitignore
Contributing.md Contributing.md
bower.json bower.json
Gruntfile.js
\ No newline at end of file
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
bump: {
options: {
files: ['package.json', 'bower.json'],
commitFiles: ['package.json', 'bower.json'],
pushTo: 'origin'
}
}
});
grunt.registerTask('default', ['bump']);
};
\ No newline at end of file
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
".gitignore", ".gitignore",
".npmignore", ".npmignore",
"Contributing.md", "Contributing.md",
"Gruntfile.js",
"node_modules", "node_modules",
"package.json" "package.json"
], ],
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
}, },
"devDependencies": { "devDependencies": {
"grunt": "^0.4.4", "grunt": "^0.4.4",
"grunt-bump": "0.0.13" "grunt-bump": "0.0.13",
"load-grunt-tasks": "^0.4.0"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment