<commit_before>var path = require('path');
var gulp = require('gulp');
var useref = require('gulp-useref');
var gulpif = require('gulp-if');
var uglify = require('gulp-uglify');
var minifyCss = require('gulp-minify-css');
var origin = 'bower_components';
var destinationJS = path.join('ui', 'lib');
var destinationCSS = path.join('ui', 'css');

gulp.task('moveDeps', function() {
    // angular
    gulp.src(path.join(origin, 'angular', 'angular.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-animate
    gulp.src(path.join(origin, 'angular-animate', 'angular-animate.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-aria
    gulp.src(path.join(origin, 'angular-aria', 'angular-aria.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-material
    gulp.src(path.join(origin, 'angular-material', 'angular-material.js'))
    .pipe(gulp.dest(destinationJS));
    gulp.src(path.join(origin, 'angular-material', 'angular-material.css'))
    .pipe(gulp.dest(destinationCSS));
    
    // angular-messages
    gulp.src(path.join(origin, 'angular-messages', 'angular-messages.js'))
    .pipe(gulp.dest(destinationJS));
});

gulp.task('buildProd', function() {
    gulp.src('ui/index.html')
    .pipe(useref())
    .pipe(gulpif('*.js', uglify()))
    .pipe(gulpif('*.css', minifyCss()))
    .pipe(gulp.dest('www'));
    
    gulp.src('ui/icons/*')
    .pipe(gulp.dest('www/icons'));
});<commit_msg>Added views to buildProd<commit_after>var path = require('path');
var gulp = require('gulp');
var useref = require('gulp-useref');
var gulpif = require('gulp-if');
var uglify = require('gulp-uglify');
var minifyCss = require('gulp-minify-css');
var origin = 'bower_components';
var destinationJS = path.join('ui', 'lib');
var destinationCSS = path.join('ui', 'css');

gulp.task('moveDeps', function() {
    // angular
    gulp.src(path.join(origin, 'angular', 'angular.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-animate
    gulp.src(path.join(origin, 'angular-animate', 'angular-animate.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-aria
    gulp.src(path.join(origin, 'angular-aria', 'angular-aria.js'))
    .pipe(gulp.dest(destinationJS));
    
    // angular-material
    gulp.src(path.join(origin, 'angular-material', 'angular-material.js'))
    .pipe(gulp.dest(destinationJS));
    gulp.src(path.join(origin, 'angular-material', 'angular-material.css'))
    .pipe(gulp.dest(destinationCSS));
    
    // angular-messages
    gulp.src(path.join(origin, 'angular-messages', 'angular-messages.js'))
    .pipe(gulp.dest(destinationJS));
});

gulp.task('buildProd', function() {
    gulp.src('ui/index.html')
    .pipe(useref())
    .pipe(gulpif('*.js', uglify()))
    .pipe(gulpif('*.css', minifyCss()))
    .pipe(gulp.dest('www'));
    
    gulp.src('ui/icons/*')
    .pipe(gulp.dest('www/icons'));

    gulp.src('ui/views/*')
    .pipe(gulp.dest('www/views'));
});
{'fraction_non_alphanumeric': 0.2085889570552147, 'fraction_numerical': 0.0, 'mean_word_length': 3.8835274542429286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, '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': '2164014', 'n_tokens_mistral': 1059, 'n_tokens_neox': 1045, 'n_words': 147}