var Gulp = require('gulp'),

    Linoleum = require('linoleum');

var $jsFiles = Linoleum.jsFiles;
Linoleum.jsFiles = function() {
  return $jsFiles().concat('tasks/*.js', 'index.js');
};

require('linoleum/tasks/clean');
require('linoleum/tasks/lint');
require('linoleum/tasks/cover');

require('./index');

Gulp.task('build', ['clean', 'lint'], function(done) {
  Linoleum.runTask('webpack', done);
});
Gulp.task('cover', ['build'], function(done) {
  Linoleum.runTask(['cover:untested', 'cover:server', 'cover:web', 'cover:report'], done);
});

Linoleum.watch(Linoleum.jsFiles(), 'cover');

Gulp.task('travis', function(done) {
  Linoleum.runTask(['cover'], done);
});
Gulp.task('default', ['cover']);


var Gulp = require('gulp'),

    Linoleum = require('linoleum');

require('./index');

Gulp.task('build', ['clean', 'lint'], function(done) {
  Linoleum.runTask('webpack', done);
});
Gulp.task('cover', ['build'], function(done) {
  Linoleum.runTask(['cover:untested', 'cover:server', 'cover:web', 'cover:report'], done);
});

Linoleum.watch(Linoleum.jsFiles(), 'cover');

Gulp.task('travis', function(done) {
  Linoleum.runTask(['cover'], done);
});
Gulp.task('default', ['cover']);

require('linoleum/Gulpfile.local');

Use gulp local for self test
Use gulp local for self test