<commit_before>var gulp = require('gulp'),
    shell = require('gulp-shell');

gulp.task('preview', shell.task([
    'wintersmith preview --port 8081'
]));

gulp.task('build', shell.task([
    'wintersmith build'
]));

gulp.task('deploy', shell.task([
    'wintersmith build',
    'cd build/ && s3cmd sync ./ s3://gary.mcad.am/'
]));

gulp.task('default', ['preview']);<commit_msg>Fix: delete non-existing local files when deploying to S3<commit_after>var gulp = require('gulp'),
    shell = require('gulp-shell');

gulp.task('preview', shell.task([
    'wintersmith preview --port 8081'
]));

gulp.task('build', shell.task([
    'wintersmith build'
]));

gulp.task('deploy', shell.task([
    'wintersmith build',
    'cd build/ && s3cmd sync --delete-removed ./ s3://gary.mcad.am/'
]));

gulp.task('default', ['preview']);
{'fraction_non_alphanumeric': 0.212636695018226, 'fraction_numerical': 0.015795868772782502, 'mean_word_length': 4.08641975308642, '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': '7502460', 'n_tokens_mistral': 304, 'n_tokens_neox': 287, 'n_words': 60}