<commit_before>'use strict';

var gulp = require('gulp');
var gutil = require('gulp-util');
var coffee = require('gulp-coffee');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var compass = require('gulp-compass');
var minify = require('gulp-minify-css');
var rename = require('gulp-rename');

var Server = require('karma').Server;



gulp.task('compass', function() {
  return gulp.src('./sass/**/*.scss')
    .pipe(compass({
      config_file: './config.rb',
      css: 'css',
      sass: 'sass'
    }))
    .on('error', gutil.log)
    .pipe(gulp.dest('./css'));
});



gulp.task('coffee', function() {
  return gulp.src('./src/*.coffee')
    .pipe(coffee({bare: true}).on('error', gutil.log))
    .pipe(gulp.dest('./js/components/'))
    .pipe(concat('esel.js'))
    .pipe(gulp.dest('./js/'));
});



gulp.task('minify-js',['coffee'],function(){
  gulp.src(['./js/esel.js'])
    .pipe(concat('esel.min.js'))
    .pipe(uglify())
    .pipe(gulp.dest('./js/'))
});

gulp.task('minify-css',['compass'],function () {
    gulp.src('./css/esel.css')
        .pipe(minify({keepBreaks: false}))
        .pipe(rename({
            suffix: '.min'
        }))
        .pipe(gulp.dest('./css/'))
    ;
});

gulp.task('test', function (done) {
  new Server({
    configFile: __dirname + '/karma.conf.js',
    singleRun: true
  }, done).start();
});

gulp.task('default', ['coffee','minify-js','compass','minify-css']);<commit_msg>Test by default<commit_after>'use strict';

var gulp = require('gulp');
var gutil = require('gulp-util');
var coffee = require('gulp-coffee');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var compass = require('gulp-compass');
var minify = require('gulp-minify-css');
var rename = require('gulp-rename');

var Server = require('karma').Server;



gulp.task('compass', function() {
  return gulp.src('./sass/**/*.scss')
    .pipe(compass({
      config_file: './config.rb',
      css: 'css',
      sass: 'sass'
    }))
    .on('error', gutil.log)
    .pipe(gulp.dest('./css'));
});



gulp.task('coffee', function() {
  return gulp.src('./src/*.coffee')
    .pipe(coffee({bare: true}).on('error', gutil.log))
    .pipe(gulp.dest('./js/components/'))
    .pipe(concat('esel.js'))
    .pipe(gulp.dest('./js/'));
});



gulp.task('minify-js',['coffee'],function(){
  gulp.src(['./js/esel.js'])
    .pipe(concat('esel.min.js'))
    .pipe(uglify())
    .pipe(gulp.dest('./js/'))
});

gulp.task('minify-css',['compass'],function () {
    gulp.src('./css/esel.css')
        .pipe(minify({keepBreaks: false}))
        .pipe(rename({
            suffix: '.min'
        }))
        .pipe(gulp.dest('./css/'))
    ;
});

gulp.task('test',['coffee'], function (done) {
  new Server({
    configFile: __dirname + '/karma.conf.js',
    singleRun: true
  }, done).start();
});

gulp.task('default', ['coffee','test','minify-js','compass','minify-css']);
{'fraction_non_alphanumeric': 0.2506868131868132, 'fraction_numerical': 0.0, 'mean_word_length': 3.3283803863298664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4384982', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1072, 'n_words': 159}