/** * Bud file for README.md */ 'use strict' const apeTmpl = require('ape-tmpl') const childProcess = require('child_process') const pkg = require('./package.json') module.exports = apeTmpl.readmeMdBud({ pkg: pkg, repo: pkg.repository, sections: 'doc/guides/*.md.hbs', badges: { travis: true, npm: true, standard: true }, links: null, overview: 'doc/overview.md', vars: { signature: require('./signature.json'), cli: { get help() { let execSync = childProcess.execSync let bin = require.resolve('./bin/tmplconv') try { return execSync && execSync(bin + ' -h') } catch (e) { return '' } } } } }) if (!module.parent) { require('coz').render(__filename) }