var gulp = require('gulp');
var jade = require('gulp-jade');

gulp.task('default', function() {
  gulp.src('./views/index.jade')
    .pipe(jade({
      pretty: true
    }))
    .pipe(gulp.dest('./'))

  gulp.src('./views/graphs/**/*.jade')
    .pipe(jade({
      pretty: true
    }))
    .pipe(gulp.dest('./dataset'))
});

@@ -53,16 +53,54 @@
 -jade');
+%0Avar jadeOptions = %7B%0A  pretty: true%0A%7D;
 %0A%0Agulp.t
@@ -155,29 +155,24 @@
 index.jade')
-%0A    
 .pipe(jade(%7B
@@ -174,41 +174,21 @@
 ade(
-%7B%0A      pretty: true%0A    %7D))%0A    
+jadeOptions))
 .pip
@@ -206,17 +206,16 @@
 ('./'))%0A
-%0A
   gulp.s
@@ -244,21 +244,16 @@
 *.jade')
-%0A    
 .pipe(ja
@@ -259,41 +259,21 @@
 ade(
-%7B%0A      pretty: true%0A    %7D))%0A    
+jadeOptions))
 .pip

simpler gulpfile