Skip to content

Commit

Permalink
chore(grunt): adds grunt-conventional-changelog plugin
Browse files Browse the repository at this point in the history
this commit adds the awesome grunt-conventional-changelog plugin which
makes it possible to autogenerate changelogs based on the given
commit history

all you have to do is to follow some conventions

the plugin is used by angular.js itself and plenty other projects
  • Loading branch information
0x-r4bbit committed Dec 3, 2013
1 parent 223db63 commit 0d77272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-saucelabs');
grunt.loadNpmTasks('grunt-conventional-changelog');

grunt.initConfig({
clean: CLEAN_DIRS,
Expand All @@ -61,6 +62,11 @@ module.exports = function(grunt) {
}
}
},
changelog: {
options: {
dest: 'CHANGELOG.md'
}
}
});

grunt.registerTask('test', ['build', 'connect', 'saucelabs-mocha']);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"wrench": "~1.5.1",
"winston": "~0.7.2",
"underscore.string": "2.3.3",
"q": "~0.9.7"
"q": "~0.9.7",
"grunt-conventional-changelog": "~1.0.0"
},
"goinstant": {
"namespace": "integrations"
Expand Down

0 comments on commit 0d77272

Please sign in to comment.