var verb = require('verb');
var jshint = require('gulp-jshint');
var mocha = require('gulp-mocha');

verb.task('mocha', ['jshint'], function () {
  verb.src('test/*.js')
    .pipe(mocha({reporter: 'spec'}));
});

verb.task('jshint', function() {
  verb.src(['*.js', 'lib/*.js', 'test/*.js'])
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'));
});

verb.task('readme', function () {
  verb.src('.verb.md')
    .pipe(verb.dest('./'));
});

verb.task('test', ['mocha', 'jshint']);
verb.task('default', ['readme']);

@@ -438,32 +438,129 @@
 st('./'));%0A%7D);%0A%0A
+verb.task('docs', function () %7B%0A  verb.src('docs/_verb/*.md')%0A    .pipe(verb.dest('docs'));%0A%7D);%0A%0A
 verb.task('test'
@@ -613,12 +613,20 @@
 'readme'
+, 'docs'
 %5D);%0A

add docs task