<commit_before>var gulp    = require('gulp');
var mocha   = require('gulp-mocha');
var concat  = require('gulp-concat');
var docco   = require('gulp-docco');
var uglify  = require('gulp-uglify');
var rename  = require('gulp-rename');

gulp.task('test', function () {
  return gulp.src(['spec/config.js', 'src/**/*.spec.js'], { read: 'false' })
    .pipe(mocha({ reporter: 'min' }));
});

gulp.task('concat', function () {
  return gulp.src(['src/**/*.js', '!src/**/*.spec.js'])
    .pipe(concat('two-dee.js'))
    .pipe(gulp.dest('dist'));
});

gulp.task('doc', function () {
  var options = {};
  return gulp.src(['dist/two-dee.js'])
    .pipe(docco(options))
    .pipe(gulp.dest('doc'));
});

gulp.task('uglify', function () {
  return gulp.src(['dist/two-dee.js'])
    .pipe(uglify())<commit_msg>properly generate docs<commit_after>var gulp    = require('gulp');
var mocha   = require('gulp-mocha');
var concat  = require('gulp-concat');
var docco   = require('gulp-docco');
var uglify  = require('gulp-uglify');
var rename  = require('gulp-rename');

gulp.task('test', function () {
  return gulp.src(['spec/config.js', 'src/**/*.spec.js'], { read: 'false' })
    .pipe(mocha({ reporter: 'min' }));
});

gulp.task('concat', function () {
  return gulp.src(['src/**/*.js', '!src/**/*.spec.js'])
    .pipe(concat('two-dee.js'))
    .pipe(gulp.dest('dist'));
});

gulp.task('doc', function () {
  var options = {};
  return gulp.src(['src/**/*.js', '!src/**/*.spec.js'])
    .pipe(docco(options))
    .pipe(gulp.dest('doc'));
});

gulp.task('uglify', function () {
  return gulp.src(['dist/two-dee.js'])
    .pipe(uglify())
{'fraction_non_alphanumeric': 0.2623152709359606, 'fraction_numerical': 0.0, 'mean_word_length': 3.9846625766871164, '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': '2911754', 'n_tokens_mistral': 635, 'n_tokens_neox': 625, 'n_words': 98}