mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Use donna and tello. Together.
This commit is contained in:
parent
9ee6a3d430
commit
3b9d25ae92
@ -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",
|
||||
|
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user