<commit_before>/*
 * fastbill
 *
 * Copyright(c) 2014 konexmedia <<EMAIL>>
 * MIT Licensed
 *
 */

/**
 * @author <NAME> <<EMAIL>>
 *
 */

'use strict';

var path = require('path');

var gulp = require('gulp');
var jasmine = require('gulp-jasmine');
var jshint = require('gulp-jshint');
var symlink = require('gulp-sym');
var sequence = require('run-sequence');
var paths = {};

paths.specs = [path.join(__dirname, 'specs', '*.spec.js')];
paths.sources = [path.join(__dirname, '*.js'), path.join(__dirname, 'lib', '**', '*.js')];

gulp.task('hook', function () {
    return gulp.src('.pre-commit')
        .pipe(symlink('.git/hooks/pre-commit'));
});

gulp.task('lint', function () {
    return gulp.src(paths.specs.concat(paths.sources))
        .pipe(jshint())
        .pipe(jshint.reporter('jshint-stylish'))
        .pipe(jshint.reporter('fail'));
});


gulp.task('test', function () {
    return gulp.src(paths.specs)
        .pipe(jasmine());
});

gulp.task('default', function () {
    return sequence('lint', 'test');
});<commit_msg>Removed unnecessary whitespace.<commit_after>/*
 * fastbill
 *
 * Copyright(c) 2014 konexmedia <<EMAIL>>
 * MIT Licensed
 *
 */

/**
 * @author <NAME> <<EMAIL>>
 *
 */

'use strict';

var path = require('path');

var gulp = require('gulp');
var jasmine = require('gulp-jasmine');
var jshint = require('gulp-jshint');
var symlink = require('gulp-sym');
var sequence = require('run-sequence');
var paths = {};

paths.specs = [path.join(__dirname, 'specs', '*.spec.js')];
paths.sources = [path.join(__dirname, '*.js'), path.join(__dirname, 'lib', '**', '*.js')];

gulp.task('hook', function () {
    return gulp.src('.pre-commit')
        .pipe(symlink('.git/hooks/pre-commit'));
});

gulp.task('lint', function () {
    return gulp.src(paths.specs.concat(paths.sources))
        .pipe(jshint())
        .pipe(jshint.reporter('jshint-stylish'))
        .pipe(jshint.reporter('fail'));
});

gulp.task('test', function () {
    return gulp.src(paths.specs)
        .pipe(jasmine());
});

gulp.task('default', function () {
    return sequence('lint', 'test');
});
{'fraction_non_alphanumeric': 0.22725107193901858, 'fraction_numerical': 0.003811338732729871, 'mean_word_length': 3.8723897911832945, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '6106876', 'n_tokens_mistral': 764, 'n_tokens_neox': 752, 'n_words': 132}