<commit_before>var gulp           = require('gulp'),
    connect        = require('gulp-connect'),
    csso           = require('gulp-csso'),
    sass           = require('gulp-sass'),
    rename         = require("gulp-rename"),
    deploy         = require("gulp-gh-pages");

// Styles.
gulp.task('styles', function() {
  return gulp.src('src/styles/*.scss')
    .pipe( 
      sass( { 
        includePaths: ['src/styles'],
        errLogToConsole: true
      }))
    .pipe(csso())
    .pipe(rename('styles/main.min.css'))
    .pipe(gulp.dest('./dist'))
    .pipe(connect.reload());
});

// Images
gulp.task('images', function() {
  return gulp.src('src/images/**/*')
    .pipe(gulp.dest('dist/images/'))
    .pipe(connect.reload());
});

// Templates
gulp.task('templates', function() {
  return gulp.src('src/**/*.html')
    .pipe(gulp.dest('dist/'))
    .pipe(connect.reload());
});

// Build
gulp.task('build', ['images','styles','templates']);

// Connect - let's get this party started!
gulp.task('connect', function() {
  connect.server({
    root: 'dist',
    port: 9000,
    livereload: true
  });
});

// Watch
gulp.task('watch', function() {
    gulp.watch('src/styles/**/*.scss', ['styles']);
    gulp.watch('src/images/**/*', ['images']);
    gulp.watch('src/**/*.html', ['templates']);
});

// Default task
gulp.task('default', function() {
    gulp.start('build', 'connect', 'watch');
});

// Deploy to gh-pages
gulp.task('deploy', function() {
  gulp.src("./dist/**/*")
    .pipe(deploy('<enter your repo git url here>', 'origin'));
});<commit_msg>edited gulpfile to allow deploy to work properly<commit_after>var gulp           = require('gulp'),
    connect        = require('gulp-connect'),
    csso           = require('gulp-csso'),
    sass           = require('gulp-sass'),
    rename         = require("gulp-rename"),
    deploy         = require("gulp-gh-pages");

// Styles.
gulp.task('styles', function() {
  return gulp.src('src/styles/*.scss')
    .pipe( 
      sass( { 
        includePaths: ['src/styles'],
        errLogToConsole: true
      }))
    .pipe(csso())
    .pipe(rename('styles/main.min.css'))
    .pipe(gulp.dest('./dist'))
    .pipe(connect.reload());
});

// Images
gulp.task('images', function() {
  return gulp.src('src/images/**/*')
    .pipe(gulp.dest('dist/images/'))
    .pipe(connect.reload());
});

// Templates
gulp.task('templates', function() {
  return gulp.src('src/**/*.html')
    .pipe(gulp.dest('dist/'))
    .pipe(connect.reload());
});

// Build
gulp.task('build', ['images','styles','templates']);

// Connect - let's get this party started!
gulp.task('connect', function() {
  connect.server({
    root: 'dist',
    port: 9000,
    livereload: true
  });
});

// Watch
gulp.task('watch', function() {
    gulp.watch('src/styles/**/*.scss', ['styles']);
    gulp.watch('src/images/**/*', ['images']);
    gulp.watch('src/**/*.html', ['templates']);
});

// Default task
gulp.task('default', function() {
    gulp.start('build', 'connect', 'watch');
});

// Deploy to gh-pages
gulp.task('deploy', function() {
  gulp.src("./dist/**/*")
    .pipe(deploy('https://github.com/amygori/etsy.git', 'origin'));
});
{'fraction_non_alphanumeric': 0.2367591424968474, 'fraction_numerical': 0.0025220680958385876, 'mean_word_length': 2.912453760789149, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '3651209', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1082, 'n_words': 180}