<commit_before>'use strict';

var del = require('del'),
    gulp = require('gulp'),
    serve = require('gulp-serve'),
    staticSiteGenerator = require('..');

gulp.task('html', ['clean'], function() {
  return gulp.src('./src/site/**/*')
    .pipe(staticSiteGenerator({
      jadeOptions: {
        pretty: true
      }
    }))
    .pipe(gulp.dest('./dest'));
});

gulp.task('clean', function(done) {
  del('./dest').then(function() {
    done();
  });
});

gulp.task('watch', ['serve'], function() {
  gulp.watch('./src/@(site|layouts)/**/*', ['html']);
});

gulp.task('serve', ['html'], serve({
  root: './dest',
  port: 8080
}));

gulp.task('default', ['html']);<commit_msg>update example gulpfile<commit_after>'use strict';

var del = require('del'),
    gulp = require('gulp'),
    serve = require('gulp-serve'),
    staticSiteGenerator = require('..');

gulp.task('ssg', ['clean'], function() {
  return gulp.src('./src/site/**/*')
    .pipe(staticSiteGenerator({
      jadeOptions: {
        pretty: true
      }
    }))
    .pipe(gulp.dest('./dest'));
});

gulp.task('clean', function(done) {
  del('./dest').then(function() {
    done();
  });
});

gulp.task('watch', ['serve'], function() {
  gulp.watch('./src/@(site|layouts)/**/*', ['ssg']);
});

gulp.task('serve', ['ssg'], serve({
  root: './dest',
  port: 8080
}));

gulp.task('default', ['ssg']);
{'fraction_non_alphanumeric': 0.27126099706744866, 'fraction_numerical': 0.005865102639296188, 'mean_word_length': 3.504950495049505, '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': '467263', 'n_tokens_mistral': 489, 'n_tokens_neox': 478, 'n_words': 79}