<commit_before>var gulp       = require('gulp'),
    gutil      = require('gulp-util'),
    notify     = require('gulp-notify'),
    less       = require('gulp-less'),
    path       = require('path'),
    minifyCSS  = require('gulp-minify-css'),
    uglify     = require('gulp-uglify'),
    watch      = require('gulp-watch'),
    bowerFiles = require("gulp-bower-files"),
    livereload = require("gulp-livereload"),
    browserify = require("gulp-browserify"),
    rename     = require("gulp-rename"),
    plumber    = require("gulp-plumber");

// Compile Less and save to target CSS directory
gulp.task('public-less', function () {

    return gulp.src([
            'app/assets/less/public/public.less'
        ])
        .pipe(plumber())
        .pipe(less())
        .pipe(minifyCSS())
        .pipe(gulp.dest('public/css'))
        .pipe(livereload())
        .pipe(notify('Public CSS minified'));

});

gulp.task('admin-less', function () {

    return gulp.src([
            'app/assets/less/admin/admin.less'
        ])
        .pipe(plumber())
        .pipe(less())
        .pipe(minifyCSS())
        .pipe(gulp.dest('public/css'))
        .pipe(notify('Admin CSS minified'));

});

// Minify and save to target JS directory
gulp.task('public-js', function () {

    return gulp.src('public/js/public/main.js')
        .pipe(browserify({
            debug: true
        }))
        .pipe(uglify())
        .pipe(rename('public/js/public/bundle.js'))
        .pipe(gulp.dest('./'))
        .pipe(notify('Public JS minified'));

});

// Keep an eye on Less and JS files for changes…
gulp.task('watch', function () {
    gulp.watch('app/assets/less/public/**/*.less', ['public-less']);
    gulp.watch('app/assets/less/admin/**/*.less', ['admin-less']);
    gulp.watch('app/assets/less/*.less', ['public-less', 'admin-less']);
    gulp.watch('public/js/public/**/*.js', ['public-js']);
});

gulp.task("bower", function(){
    bowerFiles().pipe(gulp.dest("public/vendor"));
});

// What tasks does running gulp trigger?
gulp.task('default', ['bower', 'public-less', 'admin-less', 'public-js', 'watch']);<commit_msg>gulp default not bower<commit_after>var gulp       = require('gulp'),
    gutil      = require('gulp-util'),
    notify     = require('gulp-notify'),
    less       = require('gulp-less'),
    path       = require('path'),
    minifyCSS  = require('gulp-minify-css'),
    uglify     = require('gulp-uglify'),
    watch      = require('gulp-watch'),
    bowerFiles = require("gulp-bower-files"),
    livereload = require("gulp-livereload"),
    browserify = require("gulp-browserify"),
    rename     = require("gulp-rename"),
    plumber    = require("gulp-plumber");

// Compile Less and save to target CSS directory
gulp.task('public-less', function () {

    return gulp.src([
            'app/assets/less/public/public.less'
        ])
        .pipe(plumber())
        .pipe(less())
        .pipe(minifyCSS())
        .pipe(gulp.dest('public/css'))
        .pipe(livereload())
        .pipe(notify('Public CSS minified'));

});

gulp.task('admin-less', function () {

    return gulp.src([
            'app/assets/less/admin/admin.less'
        ])
        .pipe(plumber())
        .pipe(less())
        .pipe(minifyCSS())
        .pipe(gulp.dest('public/css'))
        .pipe(notify('Admin CSS minified'));

});

// Minify and save to target JS directory
gulp.task('public-js', function () {

    return gulp.src('public/js/public/main.js')
        .pipe(browserify({
            debug: true
        }))
        .pipe(uglify())
        .pipe(rename('public/js/public/bundle.js'))
        .pipe(gulp.dest('./'))
        .pipe(notify('Public JS minified'));

});

// Keep an eye on Less and JS files for changes…
gulp.task('watch', function () {
    gulp.watch('app/assets/less/public/**/*.less', ['public-less']);
    gulp.watch('app/assets/less/admin/**/*.less', ['admin-less']);
    gulp.watch('app/assets/less/*.less', ['public-less', 'admin-less']);
    gulp.watch('public/js/public/**/*.js', ['public-js']);
});

gulp.task("bower", function(){
    bowerFiles().pipe(gulp.dest("public/vendor"));
});

// What tasks does running gulp trigger?
gulp.task('default', ['public-less', 'admin-less', 'public-js', 'watch']);
{'fraction_non_alphanumeric': 0.20051837888784166, 'fraction_numerical': 0.0, 'mean_word_length': 2.6375321336760926, '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': '5273869', 'n_tokens_mistral': 1392, 'n_tokens_neox': 1381, 'n_words': 233}