<commit_before>'use strict';

var config = require('../../.project/.config'),
    gulp = require('gulp'),
    gutil = require('gulp-util'),
    plumber = require('gulp-plumber'),
    path = require('path'),
    del = require('del'),
    rename = require('gulp-rename'),
    sass = require('gulp-sass'),
    sourcemaps = require('gulp-sourcemaps'),
    autoprefixer = require('gulp-autoprefixer'),
    cssGlob = require('gulp-css-globbing'),
    cssNano = require('gulp-cssnano'),
    //strip = require('gulp-strip-css-comments'),
    sassdoc = require('sassdoc'),
    watch = require('gulp-watch'),
    notify = require('gulp-notify');

module.exports = function() {

    // paths
    var srcGlob = [
            config.srcPath + '/styles.scss',
            config.srcCssPath + '/**/*.scss'
        ],
        dest = config.destCssPath,
        docs = config.destDocsPathCss;

    gulp.add('styles:build', function(done) {

        // cleanup
        del.sync([dest + '*[.css,.css.map]', dest + '/themes/*[.css,.css.map]'], { force: true });

        // build
        gulp.src(srcGlob)
            .pipe(plumber(function(error) {
                gutil.log(error.message);
                notify().write(error.message);
                this.emit('end');
            }))
            .pipe(sourcemaps.init())
            .pipe(cssGlob({ extensions: ['.scss'], ignoreFolders: ['.', './scss'] }))
            .pipe(sass({<commit_msg>Updated to version 0.5.2<commit_after>'use strict';

var config = require('../../.project/.config'),
    gulp = require('gulp'),
    gutil = require('gulp-util'),
    plumber = require('gulp-plumber'),
    path = require('path'),
    del = require('del'),
    rename = require('gulp-rename'),
    sass = require('gulp-sass'),
    sourcemaps = require('gulp-sourcemaps'),
    autoprefixer = require('gulp-autoprefixer'),
    cssGlob = require('gulp-css-globbing'),
    cssNano = require('gulp-cssnano'),
    //strip = require('gulp-strip-css-comments'),
    sassdoc = require('sassdoc'),
    watch = require('gulp-watch'),
    notify = require('gulp-notify');

module.exports = function() {

    // paths
    var srcGlob = [
            config.srcPath + '/styles.scss',
            config.srcCssPath + '/**/*.scss'
        ],
        dest = config.destCssPath,
        docs = config.destDocsPathCss;

    gulp.add('styles:build', function(done) {

        // cleanup styles and themes
        del.sync([dest + '*[.css,.css.map]', dest + '/themes/*[.css,.css.map]'], { force: true });

        // build
        gulp.src(srcGlob)
            .pipe(plumber(function(error) {
                gutil.log(error.message);
                notify().write(error.message);
                this.emit('end');
            }))
            .pipe(sourcemaps.init())
            .pipe(cssGlob({ extensions: ['.scss'], ignoreFolders: ['.', './scss'] }))
            .pipe(sass({
{'fraction_non_alphanumeric': 0.18925476603119584, 'fraction_numerical': 0.0010398613518197574, 'mean_word_length': 2.2610169491525425, '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': '311567', 'n_tokens_mistral': 940, 'n_tokens_neox': 922, 'n_words': 145}