<commit_before>// *************************************
//
//   Gulpfile
//
// *************************************

// -------------------------------------
//   Modules
// -------------------------------------

var gulp       = require( 'gulp' );
var coffee     = require( 'gulp-coffee' );
var coffeelint = require( 'gulp-coffeelint' );
var es         = require( 'event-stream' );
var gutil      = require( 'gulp-util' );
var watch      = require( 'gulp-watch' );

// -------------------------------------
//   Options
// -------------------------------------

var options = {

  coffee : {
    files       : [ 'components/*.coffee', 'spec/*.coffee' ],
    destination : [ 'components/js/', 'spec/javascripts/' ]
  },

  watch : function() {
    return this.coffee.files;
  }

};

// -------------------------------------
//   Task: Default
// -------------------------------------

gulp.task( 'default', function() {

  watch( options.watch(), function( files ) {

    gulp.start( 'coffee' );

  } );

} );

// -------------------------------------
//   Task: Coffee
// -------------------------------------

gulp.task( 'coffee', function() {

  var components = gulp.src( options.coffee.files[0] )
    .pipe( coffee( { bare: true } ).on( 'error', gutil.log ) )
    .pipe( gulp.dest( options.coffee.destination[0] ) );

  var tests = gulp.src( options.coffee.files[1] )
    .pipe( coffee( { bare: true } ).on( 'error', gutil.log ) )
    .pipe( gulp.dest( options.coffee.destination[1] ) );

  return es.concat(components, tests);

} );

// -------------------------------------
//   Task: Lint
// -------------------------------------

gulp.task( 'lint', function () {

  gulp.src( options.coffee.files[0] )
      .pipe( coffeelint() )
      .on( 'error', function( error ) { console.log( error.message ); } )
      .pipe( coffeelint.reporter( ) )

} );<commit_msg>Remove extra spacing in Gulpfile.js<commit_after>// *************************************
//
//   Gulpfile
//
// *************************************

// -------------------------------------
//   Modules
// -------------------------------------

var gulp       = require( 'gulp' );
var coffee     = require( 'gulp-coffee' );
var coffeelint = require( 'gulp-coffeelint' );
var es         = require( 'event-stream' );
var gutil      = require( 'gulp-util' );
var watch      = require( 'gulp-watch' );

// -------------------------------------
//   Options
// -------------------------------------

var options = {

  coffee : {
    files       : [ 'components/*.coffee', 'spec/*.coffee' ],
    destination : [ 'components/js/', 'spec/javascripts/' ]
  },

  watch : function() {
    return this.coffee.files;
  }

};

// -------------------------------------
//   Task: Default
// -------------------------------------

gulp.task( 'default', function() {

  watch( options.watch(), function( files ) {

    gulp.start( 'coffee' );

  } );

} );

// -------------------------------------
//   Task: Coffee
// -------------------------------------

gulp.task( 'coffee', function() {

  var components = gulp.src( options.coffee.files[0] )
    .pipe( coffee( { bare: true } ).on( 'error', gutil.log ) )
    .pipe( gulp.dest( options.coffee.destination[0] ) );

  var tests = gulp.src( options.coffee.files[1] )
    .pipe( coffee( { bare: true } ).on( 'error', gutil.log ) )
    .pipe( gulp.dest( options.coffee.destination[1] ) );

  return es.concat(components, tests);

} );

// -------------------------------------
//   Task: Lint
// -------------------------------------

gulp.task( 'lint', function () {

  gulp.src( options.coffee.files[0] )
      .pipe( coffeelint() )
      .on( 'error', function( error ) { console.log( error.message ); } )
      .pipe( coffeelint.reporter() )

} );
{'fraction_non_alphanumeric': 0.38866719872306466, 'fraction_numerical': 0.0026602819898909284, 'mean_word_length': 1.3397635345364032, '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': '6454906', 'n_tokens_mistral': 1147, 'n_tokens_neox': 1091, 'n_words': 214}