<commit_before>var gulp = require('gulp');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var elm = require('gulp-elm');
var audiosprite = require('gulp-audiosprite');
var concat = require('gulp-concat-util');
var ghPages = require('gulp-gh-pages');

gulp.task('elm-init', elm.init);

gulp.task('elm-make', ['elm-init'], function(){
  return gulp.src('src/main.elm')
    .pipe(elm.make({filetype: 'js'}))
    .pipe(gulp.dest('build'));
});

gulp.task('lint', function() {
  return gulp.src('src/*.js')
    .pipe(jshint())
    .pipe(jshint.reporter('default'));
});

gulp.task('build', ['lint', 'elm-make'], function() {
  gulp.src(['build/*.js', 'src/*.js'])
    .pipe(concat('snake.js'))
    .pipe(gulp.dest('dist/js'))
    .pipe(rename('snake.min.js'))
    .pipe(uglify())
    .pipe(gulp.dest('dist/js'));
  gulp.src(['src/*.html'])
    .pipe(gulp.dest('dist'));
});

gulp.task('watch', ['build'], function() {
  gulp.watch('src/*.elm', ['build']);
  gulp.watch('src/*.js', ['build']);
});<commit_msg>Remove unnecessary output file from dist folder<commit_after>var gulp = require('gulp');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var elm = require('gulp-elm');
var audiosprite = require('gulp-audiosprite');
var concat = require('gulp-concat-util');
var ghPages = require('gulp-gh-pages');

gulp.task('elm-init', elm.init);

gulp.task('elm-make', ['elm-init'], function(){
  return gulp.src('src/main.elm')
    .pipe(elm.make({filetype: 'js'}))
    .pipe(gulp.dest('build'));
});

gulp.task('lint', function() {
  return gulp.src('src/*.js')
    .pipe(jshint())
    .pipe(jshint.reporter('default'));
});

gulp.task('build', ['lint', 'elm-make'], function() {
  gulp.src(['build/*.js', 'src/*.js'])
    .pipe(concat('snake.js'))
    .pipe(rename('snake.min.js'))
    .pipe(uglify())
    .pipe(gulp.dest('dist/js'));
  gulp.src(['src/*.html'])
    .pipe(gulp.dest('dist'));
});

gulp.task('watch', ['build'], function() {
  gulp.watch('src/*.elm', ['build']);
  gulp.watch('src/*.js', ['build']);
});
{'fraction_non_alphanumeric': 0.26199095022624436, 'fraction_numerical': 0.0, 'mean_word_length': 4.654731457800511, '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': '1138964', 'n_tokens_mistral': 851, 'n_tokens_neox': 854, 'n_words': 131}