var gulp = require('gulp');

gulp.task('stylus', function () {
    var stylus = require('gulp-stylus'),
        prefix = require('gulp-autoprefixer');

    gulp.src('./styl/main.styl')
        .pipe(stylus({linenos: true}))
        .pipe(prefix())
        .pipe(gulp.dest('./build/css'));
});

gulp.task('hint', function () {
	var jshint  = require('gulp-jshint'),
		stylish = require('jshint-stylish');

	return gulp.src('./js/**/*.js')
		.pipe(jshint())
		.pipe(jshint.reporter(stylish));
});

gulp.task('js', ['hint'], function () {
	var browserify = require('gulp-browserify'),
		uglify     = require('gulp-uglify');

	return gulp.src('./js/main.js')
		.pipe(browserify({
			transform: ['hbsfy'],
			debug: true
		}))
		.pipe(uglify())
		.pipe(gulp.dest('./dist/js'))
});

// a task responsible for all compilation
gulp.task('build', ['stylus', 'js']);


gulp.task('watch', ['build'], function () {
	gulp.watch('./styl/**/*.styl', ['stylus']);
	gulp.watch('./js/**/*.js', ['js']);
});

gulp.task('default', ['build']);

@@ -315,25 +315,28 @@
 nction () %7B%0A
-%09
+    
 var jshint  
@@ -361,18 +361,24 @@
 hint'),%0A
-%09%09
+        
 stylish 
@@ -403,25 +403,28 @@
 stylish');%0A%0A
-%09
+    
 return gulp.
@@ -439,26 +439,32 @@
 s/**/*.js')%0A
-%09%09
+        
 .pipe(jshint
@@ -463,26 +463,32 @@
 e(jshint())%0A
-%09%09
+        
 .pipe(jshint
@@ -553,17 +553,20 @@
 on () %7B%0A
-%09
+    
 var brow
@@ -602,18 +602,24 @@
 rify'),%0A
-%09%09
+        
 uglify  
@@ -648,17 +648,20 @@
 ify');%0A%0A
-%09
+    
 return g
@@ -684,18 +684,24 @@
 in.js')%0A
-%09%09
+        
 .pipe(br
@@ -711,19 +711,28 @@
 erify(%7B%0A
-%09%09%09
+            
 transfor
@@ -749,31 +749,52 @@
 '%5D,%0A
-%09%09%09debug: true%0A%09%09%7D))%0A%09%09
+            debug: true%0A        %7D))%0A        
 .pip
@@ -809,10 +809,16 @@
 ())%0A
-%09%09
+        
 .pip
@@ -974,17 +974,20 @@
 on () %7B%0A
-%09
+    
 gulp.wat
@@ -1026,9 +1026,12 @@
 %5D);%0A
-%09
+    
 gulp

Convert to spaces