<commit_before>gulp = require("gulp")
gutil = require('gulp-util')
gulpLoadPlugins = require("gulp-load-plugins")
plugins = gulpLoadPlugins()
run = require('run-sequence')
browserify = require('browserify')
watchify = require('watchify')
source = require('vinyl-source-stream')
prettyHrtime = require('pretty-hrtime')
_ = require('underscore')

dist = 'distribution/'
staticSrc = ['images/*', 'statics/*']
hbsSrc = 'templates/**/*.hbs'
coffeeSrc = ['scripts/*.coffee', 'scripts/**/*.coffee']
testSrc = ['tests/*.coffee', 'tests/**/*.coffee']

gulp.task('default', ['watch'])

#####

gulp.task('watch', ->
    run(
        'clean'
        [
            'static:build'
            'styles:build'
            'scripts:build'
        ]
        [
            'static:watch'
            'styles:watch'
            'scripts:watch'
        ]
    )
)

gulp.task('deploy', ->
    run(
        'clean'
        [
            'static:build'
            'styles:build'
            'scripts:build'
        ]
        [
            'styles:compress'
            'scripts:compress'
        ]
    )
)

gulp.task('test', ->
    run(
        'clean'
        [
            'static:build'
            'styles:build'
            'scripts:test:lint'
            'scripts:test:build'
        ]
        'scripts:test:run'
    )
)
<commit_msg>Avoid timing issue on Travis<commit_after>gulp = require("gulp")
gutil = require('gulp-util')
gulpLoadPlugins = require("gulp-load-plugins")
plugins = gulpLoadPlugins()
run = require('run-sequence')
browserify = require('browserify')
watchify = require('watchify')
source = require('vinyl-source-stream')
prettyHrtime = require('pretty-hrtime')
_ = require('underscore')

dist = 'distribution/'
staticSrc = ['images/*', 'statics/*']
hbsSrc = 'templates/**/*.hbs'
coffeeSrc = ['scripts/*.coffee', 'scripts/**/*.coffee']
testSrc = ['tests/*.coffee', 'tests/**/*.coffee']

gulp.task('default', ['watch'])

#####

gulp.task('watch', ->
    run(
        'clean'
        [
            'static:build'
            'styles:build'
            'scripts:build'
        ]
        [
            'static:watch'
            'styles:watch'
            'scripts:watch'
        ]
    )
)

gulp.task('deploy', ->
    run(
        'clean'
        [
            'static:build'
            'styles:build'
            'scripts:build'
        ]
        [
            'styles:compress'
            'scripts:compress'
        ]
    )
)

gulp.task('test', ->
    run(
        'clean'
        'styles:build'
        [
            'static:build'
            'scripts:test:lint'
            'scripts:test:build'
        ]
        'scripts:test:run'
    )
)

{'fraction_non_alphanumeric': 0.17341915940931465, 'fraction_numerical': 0.0, 'mean_word_length': 1.95195530726257, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3469512', 'n_tokens_mistral': 869, 'n_tokens_neox': 877, 'n_words': 122}