<commit_before>'use strict';
//should correspond to what's in package.json
var gulp    = require('gulp'),
    gutil   = require('gulp-util'),
    jslint  = require('gulp-jslint'),
    sass    = require('gulp-sass'),
    jade    = require('gulp-jade'),
    notify  = require('gulp-notify'),
    autoprefixer = require('gulp-autoprefixer'),
    include = require('gulp-include'),
    connect = require('gulp-connect'),
    changed = require('gulp-changed'),
    plumber = require('gulp-plumber');

gulp.task('lint', function() {
  gulp.src('./src/js/*.js')
    .pipe(jslint())
    .pipe(jslint.reporter('default'));
});

gulp.task('scripts', function() {
  gulp.src('./src/js/main.js')
    .pipe(plumber())
    .pipe(include())
    .pipe(gulp.dest('./build/js'));
});

gulp.task('styles', function() {
  gulp.src('./src/scss/style.scss')
    .pipe(sass({onError: function(e) { console.log(e); } }))
    .pipe(autoprefixer('last 2 versions', '> 1%', 'ie 8'))
    .pipe(gulp.dest('./build/styles'))
    .pipe(gulp.dest('../mobile/usccb/www/styles'))
    .pipe(connect.reload());
});

// NON-SPA
gulp.task('markup', function() {
  gulp.src('./src/templates/pages/index.jade')
    .src('./src/templates/pages/**/*.jade')
    .pipe(plumber())
    .pipe(jade())
    .pipe(gulp.dest('./build/html'))    
    .pipe(connect.reload());
});
// END NON_SPA

// SPA
// gulp.task('basemarkup', function() {
//   gulp.src('./src/templates/index.jade')
//     .pipe(plumber())
//     .pipe(jade())
//     .pipe(gulp.dest('./build'))    
//     .pipe(connect.reload());
// });

// gulp.task('pages', function() {
//   gulp.src('./src/templates/pages/**/*.jade')
//     .pipe(plumber())
//     .pipe(jade())
//     .pipe(gulp.dest('./build/pages'))<commit_msg>removing some project specific gulp stuff<commit_after>'use strict';
//should correspond to what's in package.json
var gulp    = require('gulp'),
    gutil   = require('gulp-util'),
    jslint  = require('gulp-jslint'),
    sass    = require('gulp-sass'),
    jade    = require('gulp-jade'),
    notify  = require('gulp-notify'),
    autoprefixer = require('gulp-autoprefixer'),
    include = require('gulp-include'),
    connect = require('gulp-connect'),
    changed = require('gulp-changed'),
    plumber = require('gulp-plumber');

gulp.task('lint', function() {
  gulp.src('./src/js/*.js')
    .pipe(jslint())
    .pipe(jslint.reporter('default'));
});

gulp.task('scripts', function() {
  gulp.src('./src/js/main.js')
    .pipe(plumber())
    .pipe(include())
    .pipe(gulp.dest('./build/js'));
});

gulp.task('styles', function() {
  gulp.src('./src/scss/style.scss')
    .pipe(sass({onError: function(e) { console.log(e); } }))
    .pipe(autoprefixer('last 2 versions', '> 1%', 'ie 8'))
    .pipe(gulp.dest('./build/styles'))
    .pipe(connect.reload());
});

// NON-SPA
gulp.task('markup', function() {
  gulp.src('./src/templates/pages/index.jade')
    .src('./src/templates/pages/**/*.jade')
    .pipe(plumber())
    .pipe(jade())
    .pipe(gulp.dest('./build/html'))    
    .pipe(connect.reload());
});
// END NON_SPA

// SPA
// gulp.task('basemarkup', function() {
//   gulp.src('./src/templates/index.jade')
//     .pipe(plumber())
//     .pipe(jade())
//     .pipe(gulp.dest('./build'))    
//     .pipe(connect.reload());
// });

// gulp.task('pages', function() {
//   gulp.src('./src/templates/pages/**/*.jade')
//     .pipe(plumber())
//     .pipe(jade())
//     .pipe(gulp.dest('./build/pages'))
{'fraction_non_alphanumeric': 0.24877061035579984, 'fraction_numerical': 0.0017356089094590686, 'mean_word_length': 2.9792865362485617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '5129598', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1284, 'n_words': 167}