var gulp = require('gulp');

var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');

var jsFiles = 'src/*.js', jsDest = 'dist';

gulp.task('default', function() {
	return gulp.src(jsFiles)
		.pipe(concat('tongue.js'))
		.pipe(gulp.dest(jsDest))
		.pipe(rename('tongue.min.js'))
		.pipe(uglify())
		.pipe(gulp.dest(jsDest))
});
@@ -132,16 +132,53 @@
 glify');
+%0Avar jshint = require('gulp-jshint');
 %0A%0Avar js
@@ -230,15 +230,13 @@
 sk('
-default
+build
 ', f
@@ -242,16 +242,17 @@
 function
+ 
 () %7B%0A%09re
@@ -412,7 +412,203 @@
 t))%0A
-
 %7D);
+%0A%0Agulp.task('jshint', function () %7B%0A%09return gulp.src(jsFiles)%0A%09%09.pipe(jshint())%0A%09%09.pipe(jshint.reporter('default'))%0A%09%09.pipe(jshint.reporter('fail'))%0A%7D);%0A%0Agulp.task('default', %5B'jshint', 'build'%5D);

Add jshint task