File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- [ ![ ] ( https://david-dm.org/neogeek/grunt-doxdox.svg )] ( https://david-dm.org/neogeek/grunt-doxdox/ ) [ ![ ] ( http://img.shields.io/npm/v/grunt-doxdox.svg )] ( https://www.npmjs.org/package/grunt-doxdox )
1
+ [ ![ ] ( https://david-dm.org/neogeek/grunt-doxdox.svg?style=flat )] ( https://david-dm.org/neogeek/grunt-doxdox/ ) [ ![ ] ( http://img.shields.io/npm/v/grunt-doxdox.svg?style=flat )] ( https://www.npmjs.org/package/grunt-doxdox )
2
2
3
3
#grunt-doxdox
4
4
Original file line number Diff line number Diff line change 4
4
"version" : " 0.0.3" ,
5
5
"license" : " MIT" ,
6
6
"dependencies" : {
7
- "doxdox" : " 0.0.13 " ,
7
+ "doxdox" : " 0.0.16 " ,
8
8
"extend" : " 2.0.0"
9
9
},
10
10
"keywords" : [
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ module.exports = function (grunt) {
8
8
9
9
grunt . registerMultiTask ( 'doxdox' , 'Generate documentation with doxdox.' , function ( ) {
10
10
11
- var input ,
11
+ var done = this . async ( ) ,
12
+ input ,
12
13
output ,
13
14
config = {
14
15
title : '' ,
@@ -59,9 +60,14 @@ module.exports = function (grunt) {
59
60
60
61
doxdox . parseInput (
61
62
path . normalize ( path . resolve ( input ) ) ,
62
- path . normalize ( path . resolve ( output ) ) ,
63
63
config
64
- ) ;
64
+ ) . then ( function ( content ) {
65
+
66
+ fs . writeFileSync ( output , content , 'utf8' ) ;
67
+
68
+ done ( ) ;
69
+
70
+ } ) ;
65
71
66
72
} else {
67
73
You can’t perform that action at this time.
0 commit comments