<commit_before>var gulp   = require('gulp'),
    uglify = require('gulp-uglify'),
    minifyCSS = require('gulp-minify-css'),
    less = require('gulp-less'),
    jshint = require('gulp-jshint'),
    lesshint = require('gulp-lesshint'),
    sequence = require('gulp-sequence'),
    zip = require('gulp-zip'),
    moment = require("moment");

var appJavascriptFolder = 'app/js/**/*.js',
    appCssFolder = 'app/scss/**/*.less',
    buildJavascripFolder = 'build/js/';
    buildCssFolder = 'build/css/';

gulp.task('jshint', function() {
  return gulp.src(appJavascriptFolder)
             .pipe(jshint())
             .pipe(jshint.reporter('default', { verbose: true }));
});

gulp.task('lesslint', function() {
  return  gulp.src(appCssFolder)
             .pipe(lesshint())
            .pipe(lesshint.reporter());
});

gulp.task('compilejs', function() {
  return gulp.src(appJavascriptFolder)
             .pipe(jshint())
             .pipe(uglify())
             .pipe(gulp.dest(buildJavascripFolder));
});

gulp.task('compilecss', function() {
  return gulp.src(appCssFolder)
             .pipe(less())
             .pipe(minifyCSS())
             .pipe(gulp.dest(buildCssFolder));
});

gulp.task('zip', function() {
  var now = moment(new Date());
  return gulp.src('build/*')
             .pipe(zip(now.format('YYYYMMDD')+'.zip'))
             .pipe(gulp.dest('zip'));
});

gulp.task('dev', function() {
  gulp.watch(appJavascriptFolder, ['jshint']);
  gulp.watch(appCssFolder, ['lesslint']);
});

gulp.task('runtest', sequence('jshint','lesslint'));

gulp.task('build',['runtest'],sequence('compilejs','compilecss','zip'));<commit_msg>Novo nome para tasks<commit_after>var gulp   = require('gulp'),
    uglify = require('gulp-uglify'),
    minifyCSS = require('gulp-minify-css'),
    less = require('gulp-less'),
    jshint = require('gulp-jshint'),
    lesshint = require('gulp-lesshint'),
    sequence = require('gulp-sequence'),
    zip = require('gulp-zip'),
    moment = require("moment");

var appJavascriptFolder = 'app/js/**/*.js',
    appCssFolder = 'app/scss/**/*.less',
    buildJavascripFolder = 'target/js/';
    buildCssFolder = 'target/css/';

gulp.task('js:hint', function() {
  return gulp.src(appJavascriptFolder)
             .pipe(jshint())
             .pipe(jshint.reporter('default', { verbose: true }));
});

gulp.task('css:lint', function() {
  return  gulp.src(appCssFolder)
             .pipe(lesshint())
            .pipe(lesshint.reporter());
});

gulp.task('js:compile', function() {
  return gulp.src(appJavascriptFolder)
             .pipe(jshint())
             .pipe(uglify())
             .pipe(gulp.dest(buildJavascripFolder));
});

gulp.task('css:compile', function() {
  return gulp.src(appCssFolder)
             .pipe(less())
             .pipe(minifyCSS())
             .pipe(gulp.dest(buildCssFolder));
});

gulp.task('zip', function() {
  var now = moment(new Date());
  return gulp.src('target/*')
             .pipe(zip(now.format('YYYYMMDD')+'.zip'))
             .pipe(gulp.dest('zip'));
});

gulp.task('dev', function() {
  gulp.watch(appJavascriptFolder, ['jshint']);
  gulp.watch(appCssFolder, ['lesslint']);
});

gulp.task('runtest', sequence('js:hint','css:lint'));

gulp.task('build',['runtest'],sequence('js:compile','css:compile','zip'));
{'fraction_non_alphanumeric': 0.20303030303030303, 'fraction_numerical': 0.0, 'mean_word_length': 3.2759067357512954, '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': '2035974', 'n_tokens_mistral': 1153, 'n_tokens_neox': 1144, 'n_words': 152}