File tree Expand file tree Collapse file tree 3 files changed +7
-17
lines changed
Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,6 @@ module.exports = function(grunt) {
1212
1313 // Project configuration.
1414 grunt . initConfig ( {
15- jshint : {
16- all : [
17- 'Gruntfile.js' ,
18- 'tasks/*.js'
19- ] ,
20- options : {
21- jshintrc : '.jshintrc'
22- }
23- } ,
2415 gren : {
2516 release : {
2617 options : {
@@ -35,14 +26,10 @@ module.exports = function(grunt) {
3526 // Actually load this plugin's task(s).
3627 grunt . loadTasks ( 'tasks' ) ;
3728
38- // These plugins provide necessary tasks.
39- grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
40-
41- // Whenever the "test" task is run, first clean the "tmp" dir, then run this
4229 // plugin's task(s), then test the result.
4330 grunt . registerTask ( 'release' , [ 'gren' ] ) ;
4431
4532 // By default, lint and run all tests.
46- grunt . registerTask ( 'default' , [ 'jshint' , ' gren'] ) ;
33+ grunt . registerTask ( 'default' , [ 'gren' ] ) ;
4734
4835} ;
Original file line number Diff line number Diff line change 2929 "devDependencies" : {
3030 "github-release-notes" : " ^0.2.0" ,
3131 "grunt" : " ~0.4.5" ,
32- "grunt-contrib-jshint" : " ^0.9.2" ,
32+ "grunt-contrib-jshint" : " ^0.9.2"
3333 },
3434 "peerDependencies" : {
3535 "grunt" : " ~0.4.5"
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ module.exports = function(grunt) {
1717
1818 grunt . registerMultiTask ( 'gren' , 'Grunt plugin for the npm github-release-notes' , function ( ) {
1919 var options = this . options ( { } ) ;
20+ var done = this . async ( ) ;
2021
2122 var gren = new Gren ( options ) ;
22- gren . release ( ) ;
23+
24+ gren . release ( ) . then ( done ) ;
25+
2326 } ) ;
2427
25- } ;
28+ } ;
You can’t perform that action at this time.
0 commit comments