diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-04-27 17:58:35 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-04-27 17:58:35 +0200 |
commit | e781d6d2b1705f44fcdd950f5541917fde41323f (patch) | |
tree | 309c2378efe990dfdb650a446de0640eafd2cdfe /lib/output/ebook/onFinish.js | |
parent | 5b342b50ce862a4d60002451e6c1abd09a7b20ce (diff) | |
download | gitbook-e781d6d2b1705f44fcdd950f5541917fde41323f.zip gitbook-e781d6d2b1705f44fcdd950f5541917fde41323f.tar.gz gitbook-e781d6d2b1705f44fcdd950f5541917fde41323f.tar.bz2 |
Add test for assets inliner
Diffstat (limited to 'lib/output/ebook/onFinish.js')
-rw-r--r-- | lib/output/ebook/onFinish.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/output/ebook/onFinish.js b/lib/output/ebook/onFinish.js new file mode 100644 index 0000000..5ea5148 --- /dev/null +++ b/lib/output/ebook/onFinish.js @@ -0,0 +1,19 @@ +var websiteGenerator = require('../website'); + +/** + Finish the generation, generate the ebook file using ebook-convert + + @param {Output} + @return {Output} +*/ +function onFinish(output) { + return websiteGenerator.onFinish(output) + .then(function(resultOutput) { + + // todo + + return resultOutput; + }); +} + +module.exports = onFinish; |