Use donna and tello. Together.

This commit is contained in:
Ben Ogle 2014-08-11 16:39:00 -07:00
parent 9ee6a3d430
commit 3b9d25ae92
4 changed files with 9 additions and 9 deletions

View File

@ -7,8 +7,8 @@
},
"dependencies": {
"async": "~0.2.9",
"metadoc": "~0.0",
"grappa": "~0.0",
"donna": "~0.0",
"tello": "~0.0",
"formidable": "~1.0.14",
"fs-plus": "2.x",
"github-releases": "~0.2.0",

View File

@ -5,8 +5,8 @@ fs = require 'fs-plus'
request = require 'request'
_ = require 'underscore-plus'
metadoc = require 'metadoc'
grappa = require 'grappa'
donna = require 'donna'
tello = require 'tello'
module.exports = (grunt) ->
{rm} = require('./task-helpers')(grunt)
@ -20,15 +20,15 @@ module.exports = (grunt) ->
done = @async()
docsOutputDir = grunt.config.get('docsOutputDir')
downloadIncludes (error, includedModules) ->
metadata = metadoc.generateMetadata(['.'].concat(includedModules))
grappaJson = grappa.digest(metadata)
metadata = donna.generateMetadata(['.'].concat(includedModules))
telloJson = tello.digest(metadata)
files = [{
filePath: path.join(docsOutputDir, 'metadata.json')
filePath: path.join(docsOutputDir, 'donna.json')
contents: JSON.stringify(metadata, null, ' ')
}, {
filePath: path.join(docsOutputDir, 'grappa.json')
contents: JSON.stringify(grappaJson, null, ' ')
filePath: path.join(docsOutputDir, 'tello.json')
contents: JSON.stringify(telloJson, null, ' ')
}]
writeFile = ({filePath, contents}, callback) ->