<commit_before>var gulp = require('gulp');
require('del');

gulp.task('default', startLocalEnvironment);

// gulp.task('build-dev', buildDev);

gulp.task('build-environment', buildEnvironment)

function startLocalEnvironment(cb) {
    require('./gulp/local/tasks.js');
    gulp.start('local');
    cb();
}

// function buildDev(cb) {
//     require('./gulp/build-dev.js');
//     gulp.start('build-for-sanspantalonesdev');
//     cb();
// }

function buildEnvironment(cb) {
    if (process.env.environment === 'dev') {
        require('./gulp/build-dev.js');
        gulp.start('build-for-sanspantalonesdev', function () {
            cb();
        });
    }
}
<commit_msg>gtimestamp: Sun Oct  4 11:53:04 EDT 2015<commit_after>var gulp = require('gulp');
require('del');

gulp.task('default', startLocalEnvironment);

gulp.task('build-environment', buildEnvironment);   //this will be ran by heroku, leave alone

function startLocalEnvironment(cb) {
    require('./gulp/local/tasks.js');
    gulp.start('local');
    cb();
}

function buildEnvironment(cb) {
    var environment = process.env.environment;
    if (environment === 'dev') {
        require('./gulp/build-dev.js');
        gulp.start('build-for-sanspantalonesdev', function () {
            cb();
        });
    } else if (environment === 'qa') {
        //build for qa, final prod code, needs to match production or staging.  data is the same as dev data
    } else if (environment === 'staging') {
        //build for staging, final prod code, and sample production data
    } else if (environment === 'prod') {
        //build for production, final live prod code, and live prod data
    }
}

{'fraction_non_alphanumeric': 0.1675708257986739, 'fraction_numerical': 0.006630500301386378, 'mean_word_length': 3.0686274509803924, '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': '5745383', 'n_tokens_mistral': 520, 'n_tokens_neox': 512, 'n_words': 120}