Skip to content

Commit

Permalink
chore(build): update gruntfile to use load-grunt-tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
passy committed Sep 21, 2013
1 parent 9254cfb commit c514aeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ var markdown = require('marked');
var semver = require('semver');

module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
changelog: {
Expand Down Expand Up @@ -54,8 +56,5 @@ module.exports = function (grunt) {
}, grunt.task.current.async());
});

grunt.loadNpmTasks('grunt-release');
grunt.loadNpmTasks('grunt-conventional-changelog');

grunt.registerTask('default', ['bump', 'changelog', 'stage', 'release']);
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.0",
"grunt-conventional-changelog": "~1.0.0",
"load-grunt-tasks": "~0.1.0",
"marked": "~0.2.8",
"semver": "~2.1.0",
"grunt-release": "~0.5.1"
Expand Down

0 comments on commit c514aeb

Please sign in to comment.