<commit_before>var gulp = require('gulp');
var concat = require('gulp-concat');

gulp.task('default', function() {
    gulp.src(['app/bower_components/**/*.min.js'])
      .pipe(concat('app/dist_components.js'))
      .pipe(gulp.dest('.'))

    gulp.src(['app/app.js', 'app/new/new.js', 'app/change/change.js', 'app/list/list.js'])
      .pipe(concat('app/dist.js'))
      .pipe(gulp.dest('.'))
    
    gulp.src(['app/bower_components/bootstrap/dist/css/bootstrap.min.css', 'app/bower_components/angular-ui-select/dist/select.min.css', 'app/bower_components/angucomplete-alt/angucomplete-alt.css'])
      .pipe(concat('app/dist.css'))
      .pipe(gulp.dest('.'))
});

gulp.task('js', function() {
    gulp.src(['app/app.js', 'app/new/new.js', 'app/change/change.js', 'app/list/list.js'])
      .pipe(concat('app/dist.js'))
      .pipe(gulp.dest('.'))
});

gulp.task('css', function() {
    gulp.src(['app/bower_components/bootstrap/dist/css/bootstrap.min.css', 'app/bower_components/angular-ui-select/dist/select.min.css', 'app/bower_components/angucomplete-alt/angucomplete-alt.css'])
      .pipe(concat('app/dist.css'))
      .pipe(gulp.dest('.'))
});
<commit_msg>rewriting the gulpfile and adding a watch task for convenience<commit_after>var gulp = require('gulp');
var concat = require('gulp-concat');
var paths = {
  code: ['app/app.js', 'app/new/new.js', 'app/change/change.js', 'app/list/list.js']
};

gulp.task('deps', function() {
    gulp.src(['app/bower_components/**/*.min.js'])
      .pipe(concat('app/dist_components.js'))
      .pipe(gulp.dest('.'))

    gulp.src(['app/bower_components/bootstrap/dist/css/bootstrap.min.css', 'app/bower_components/angular-ui-select/dist/select.min.css', 'app/bower_components/angucomplete-alt/angucomplete-alt.css'])
      .pipe(concat('app/dist.css'))
      .pipe(gulp.dest('.'))
});

gulp.task('js', function() {
    gulp.src(paths.code)
      .pipe(concat('app/dist.js'))
      .pipe(gulp.dest('.'))
});

gulp.task('css', function() {
    gulp.src(['app/bower_components/bootstrap/dist/css/bootstrap.min.css', 'app/bower_components/angular-ui-select/dist/select.min.css', 'app/bower_components/angucomplete-alt/angucomplete-alt.css'])
      .pipe(concat('app/dist.css'))
      .pipe(gulp.dest('.'))
});

gulp.task('watch', function() { 
    gulp.watch(paths.code, ['js']);
});

gulp.task('default', ['watch', 'js']);

{'fraction_non_alphanumeric': 0.2311261071277942, 'fraction_numerical': 0.0, 'mean_word_length': 3.951983298538622, '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': '5642154', 'n_tokens_mistral': 884, 'n_tokens_neox': 880, 'n_words': 88}