<commit_before>var del = require('del');
var gulp = require('gulp');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var templateCache = require('gulp-angular-templatecache');

gulp.task('default', ['build']);

gulp.task('build', ['templates', 'dist', 'clean']);

gulp.task('dist', ['templates'], function() {
  return gulp.src(['angular-date-pickable.js', 'build/temp-templates.js'])
    .pipe(concat('angular-date-pickable.js'))
    .pipe(gulp.dest('dist'))
    .pipe(uglify())
    .pipe(rename('angular-date-pickable.min.js'))
    .pipe(gulp.dest('dist'));
});

gulp.task('templates', function() {
  return gulp.src('angular-date-pickable.html')
    .pipe(templateCache('temp-templates.js', { module: 'jbDatePickable' }))
    .pipe(gulp.dest('build'));
});

gulp.task('clean', ['templates', 'dist'], function() {
  return del(['build']);
});<commit_msg>Should have a watch for gulp task<commit_after>var del = require('del');
var gulp = require('gulp');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var templateCache = require('gulp-angular-templatecache');

gulp.task('default', ['build']);

gulp.task('build', ['templates', 'dist', 'clean']);

gulp.task('dist', ['templates'], function() {
  return gulp.src(['angular-date-pickable.js', 'build/temp-templates.js'])
    .pipe(concat('angular-date-pickable.js'))
    .pipe(gulp.dest('dist'))
    .pipe(uglify())
    .pipe(rename('angular-date-pickable.min.js'))
    .pipe(gulp.dest('dist'));
});

gulp.task('templates', function() {
  return gulp.src('angular-date-pickable.html')
    .pipe(templateCache('temp-templates.js', { module: 'jbDatePickable' }))
    .pipe(gulp.dest('build'));
});

gulp.task('clean', ['templates', 'dist'], function() {
  return del(['build']);
});

gulp.task('watch', ['build'], function() {
  gulp.watch('angular-date-pickable.*', ['build']);
});
{'fraction_non_alphanumeric': 0.23646578140960164, 'fraction_numerical': 0.0, 'mean_word_length': 5.444078947368421, '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': '1293568', 'n_tokens_mistral': 675, 'n_tokens_neox': 672, 'n_words': 109}