<commit_before>var gulp         = require('gulp'),
    gulpSequence = require('gulp-sequence'),
    colors       = require('colors'),
    del          = require('del'),
    argv         = require('yargs').argv,
    deploy       = argv._[0] === 'deploy',
    config       = require('../config');


gulp.task('build', function(cb) {
  process.env.NODE_ENV = 'production';
  gulpSequence(
    'karma',
    'clean', 
    ['fonts', 'images', 'iconFont'], 
    ['postCss', 'jade', 'webpack:production'], 
    'rev', 
    'cleanTemp', 
    'complete', 
    cb);
});

gulp.task('cleanTemp', function (cb) {
  del([
    config.publicTemp,
  ], cb);
});


gulp.task('complete', function() {
  console.log('Project Succsess.'.bold.bgRed);
  console.log('Project Succsess.'.bold.bgWhite);
  console.log('Project Succsess.'.bold.bgBlue);
  if (!deploy) {
    //Exit gulp
    process.exit();
  }
});
<commit_msg>Moved jade to be procced after styles complete for injection<commit_after>var gulp         = require('gulp'),
    gulpSequence = require('gulp-sequence'),
    colors       = require('colors'),
    del          = require('del'),
    argv         = require('yargs').argv,
    deploy       = argv._[0] === 'deploy',
    config       = require('../config');


gulp.task('build', function(cb) {
  process.env.NODE_ENV = 'production';
  gulpSequence(
    'karma',
    'clean', 
    ['fonts', 'images', 'iconFont'], 
    ['postCss', 'webpack:production'],
    'jade', 
    'rev', 
    'cleanTemp', 
    'complete', 
    cb);
});

gulp.task('cleanTemp', function (cb) {
  del([
    config.publicTemp,
  ], cb);
});


gulp.task('complete', function() {
  console.log('Project Succsess.'.bold.bgRed);
  console.log('Project Succsess.'.bold.bgWhite);
  console.log('Project Succsess.'.bold.bgBlue);
  if (!deploy) {
    //Exit gulp
    process.exit();
  }
});

{'fraction_non_alphanumeric': 0.19491066594477532, 'fraction_numerical': 0.0010828370330265296, 'mean_word_length': 2.7868852459016393, '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': '6020517', 'n_tokens_mistral': 644, 'n_tokens_neox': 621, 'n_words': 113}