Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
doc fixes RE gulpjs#232
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Feb 4, 2014
1 parent 7b96b4b commit f03f21c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/mocha-test-runner-with-gulp.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var gulp = require('gulp');
var mocha = require('gulp-mocha');

gulp.task('tests', function() {
gulp.src(['test/test-*.js'], { read: false })
return gulp.src(['test/test-*.js'], { read: false })
.pipe(mocha({
reporter: 'spec',
globals: {
Expand Down Expand Up @@ -57,7 +57,7 @@ gulp.task('mocha', function () {
});

gulp.task('watch', function() {
gulp.src(['lib/**', 'test/**'], { read: false })
return gulp.src(['lib/**', 'test/**'], { read: false })
.pipe(watch(function(events, cb) {
gulp.run('mocha', cb);
}));
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/only-pass-through-changed-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var SRC = 'src/*.js';
var DEST = 'dist';

gulp.task('default', function () {
gulp.src(SRC)
return gulp.src(SRC)
// the `changed` task needs to know the destination directory
// upfront to be able to figure out which files changed
.pipe(changed(DEST))
Expand Down
14 changes: 0 additions & 14 deletions docs/recipes/specifying-a-different-gulpfile.md

This file was deleted.

0 comments on commit f03f21c

Please sign in to comment.