Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jonschlinkert
Created February 9, 2015 00:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonschlinkert/822c64d8f6d5ff4a4783 to your computer and use it in GitHub Desktop.
Save jonschlinkert/822c64d8f6d5ff4a4783 to your computer and use it in GitHub Desktop.
Basic example verbfile. Verb builds `.verb.md` files automatically. Only use a verbfile.js if you need more.
var verb = require('verb');
// build the readme. this is basically the default task
// that runs when no `verbfile.js` exists
verb.task('readme', function () {
verb.src('.verb.md')
.pipe(verb.dest('./'));
});
// build docs in the `docs/` directory
verb.task('docs', function () {
verb.src('docs/*.md')
.pipe(verb.dest('foo'));
});
verb.task('default', ['readme', 'docs']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment