<commit_before>module.exports = function() {
    const gulp = require('gulp');
    const plumber = require('gulp-plumber');
    const notify = require('gulp-notify');
    const iconfont = require('gulp-iconfont');
    const iconfontCss = require('gulp-iconfont-css');
    const util = require('gulp-util');
    
    const config = util.env.boilerplate.config;
    const fonticonConfig = config.tasks.fonticon;
    
    return gulp.src(fonticonConfig.source, {cwd: config.sourceRoot})
      .pipe(plumber({errorHandler: notify.onError({
          message: '<%= error.message %>',
          title: 'Views Error'
      })}))
      .pipe(iconfontCss({
          fontName: fonticonConfig.fontName,
          path: fonticonConfig.fileType,
          targetPath: fonticonConfig.fileName,
          fontPath: fonticonConfig.fontPath
      }))
      .pipe(iconfont({
          fontName: fonticonConfig.fontName,
          formats: fonticonConfig.format
      }))
      .pipe(gulp.dest(config.destinationRoot + fonticonConfig.destination))
      .pipe(notify({message: 'Successfully compiled SVG font icon', onLast: true}))
      .on('error', function() {
          this.emit('error', new Error('SVG font icon compilation Error'));
      });
};<commit_msg>[fix] Fixed iconfontcss output file not created in sources folder<commit_after>module.exports = function() {
    const gulp = require('gulp');
    const plumber = require('gulp-plumber');
    const notify = require('gulp-notify');
    const iconfont = require('gulp-iconfont');
    const iconfontCss = require('gulp-iconfont-css');
    const util = require('gulp-util');
    
    const config = util.env.boilerplate.config;
    const fonticonConfig = config.tasks.fonticon;

    return gulp.src(fonticonConfig.source, {cwd: config.sourceRoot, base: './'})
      .pipe(plumber({errorHandler: notify.onError({
          message: '<%= error.message %>',
          title: 'Views Error'
      })}))
      .pipe(iconfontCss({
          fontName: fonticonConfig.fontName,
          path: fonticonConfig.fileType,
          targetPath: fonticonConfig.fileName,
          fontPath: fonticonConfig.fontPath
      }))
      .pipe(iconfont({
          fontName: fonticonConfig.fontName,
          formats: fonticonConfig.format
      }))
      .pipe(gulp.dest(config.destinationRoot + fonticonConfig.destination))
      .pipe(notify({message: 'Successfully compiled SVG font icon', onLast: true}))
      .on('error', function() {
          this.emit('error', new Error('SVG font icon compilation Error'));
      });
};
{'fraction_non_alphanumeric': 0.13557993730407525, 'fraction_numerical': 0.0, 'mean_word_length': 2.9642857142857144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2083008', 'n_tokens_mistral': 745, 'n_tokens_neox': 735, 'n_words': 150}