var gulp = require('gulp');

var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');

//var shell = require('gulp-shell');

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

gulp.task('lint', function () {
  return gulp.src('lib/!(external)**/*.js')
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'))
    .pipe(jshint.reporter('fail'));
});

// Run unit tests
gulp.task('test', function() {
  return gulp.src([
    './lib/external/require.js',
    './lib/sqr.js',
    './lib/sqrt.js',
    './test/**/*.js',
    './test/test-main.js'
  ])
    .pipe(karma({ configFile: 'test/karma.conf.js' }))
    .on('error', function(err) { throw err; });
});

gulp.task('default', ['lint', 'test']);

@@ -463,49 +463,8 @@
 s',%0A
-    './lib/sqr.js',%0A    './lib/sqrt.js',%0A
     

remove manual inclusion of sqr and sqrt