Skip to content

Instantly share code, notes, and snippets.

@seb-thomas
Created March 17, 2015 11:29
Show Gist options
  • Save seb-thomas/ba3b8cb7ea05025198b1 to your computer and use it in GitHub Desktop.
Save seb-thomas/ba3b8cb7ea05025198b1 to your computer and use it in GitHub Desktop.
gulp.task('strings', function() {
gulp.src('media/jade/*.jade')
.pipe(tap(function (file,t) {
var filename = path.basename(file.path);
return gulp.src(file.path)
.pipe(jade({
client: true,
name: filename
}))
.pipe(gulp.dest('media/'))
}))
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment