Created
February 9, 2015 00:13
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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