<commit_before>var gulp = require('gulp');
var concat = require('gulp-concat');
var minify = require('gulp-minify');
let cleanCSS = require('gulp-clean-css');


gulp.task('compress',['minify-css'], function() {
  gulp.src(['./assets/js/*.js'])
    .pipe(concat('main.js'))
    .pipe(minify({noSource :true}))
    .pipe(gulp.dest('./dist/'));
});

gulp.task('minify-css', function() {
  return gulp.src('./assets/css/*.css')
    .pipe(cleanCSS({compatibility: 'ie8'}))
    .pipe(gulp.dest('./dist'));
});

gulp.task('listen', ['compress'], function () {
    // watch for JS changes
    gulp.watch('js/*.js', function () {
        // run compress task
        gulp.run('compress');
    });
});
<commit_msg>update gulp<commit_after>var gulp = require('gulp');
var concat = require('gulp-concat');
var minify = require('gulp-minify');

gulp.task('compress', function () {
    gulp.src(['./app/widgets/**/*Service.js',
        './app/widgets/**/**/*Service.js',
        './app/widgets/**/*Controller.js',
        './app/widgets/**/**/*Controller.js',
        './app/widgets/**/*Directive.js',
        './app/widgets/**/**/*Directive.js',
        './app/widgets/**/*Filter.js',
        './app/widgets/**/**/*Filter.js'
    ])
        .pipe(concat('main.js'))
        .pipe(minify({ noSource: true }))
        .pipe(gulp.dest('./app/dist/'));
});

{'fraction_non_alphanumeric': 0.25970149253731345, 'fraction_numerical': 0.0007462686567164179, 'mean_word_length': 2.932551319648094, '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': '1241527', 'n_tokens_mistral': 465, 'n_tokens_neox': 462, 'n_words': 64}