<commit_before>'use strict';

var gulp = require('gulp'),
    config = require('../config.json'),
    del = require('del'),
    compass = require('gulp-compass'),
    autoprefixer = require('gulp-autoprefixer'),
    gutil = require('gulp-util');

gulp.task('compass-prod', function() {
    del([config.css + '/main.css'], function(err) {
        gutil.log(gutil.colors.magenta('main.css deleted for re-creation using production mode.'));
    });

    gulp.src(config.sass + '/**/*.scss')
        .pipe(compass({
            config_file: 'config.rb',
            environment: 'production'
        }))
        .pipe(autoprefixer({
            browsers: ['last 2 versions']
        }))
        .pipe(gulp.dest(config.css));
});<commit_msg>fixed compass prod issue in breaking build<commit_after>'use strict';

var gulp = require('gulp'),
    config = require('../config.json'),
    del = require('del'),
    compass = require('gulp-compass'),
    autoprefixer = require('gulp-autoprefixer'),
    gutil = require('gulp-util');

gulp.task('compass-prod', function() {
    del([config.css + '/main.css'], function(err) {
        gutil.log(gutil.colors.magenta('main.css deleted for re-creation using production mode.'));
    });

    return gulp.src(config.sass + '/**/*.scss')
        .pipe(compass({
            config_file: 'config.rb',
            environment: 'production'
        }))
        .pipe(autoprefixer({
            browsers: ['last 2 versions']
        }))
        .pipe(gulp.dest(config.css));
});
{'fraction_non_alphanumeric': 0.1830238726790451, 'fraction_numerical': 0.001326259946949602, 'mean_word_length': 2.680487804878049, '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': '5502401', 'n_tokens_mistral': 478, 'n_tokens_neox': 477, 'n_words': 87}