<commit_before>var paths = {
  scripts: ["client/js/**/*.coffee", "!client/external/**/*.coffee"],
  images: "client/img/**/*"
}

exports.default = function* () {
  yield this.tasks.clean()
  yield this.tasks.scripts()
  yield this.tasks.images()
  yield this.watch([paths.scripts, paths.images])
}

exports.clean = function* () {
  yield this.rimraf("build")
}

exports.scripts = function* () {
  yield this
    .source(paths.scripts)
    .coffee({/* options */})
    .uglify({/* options */})
    .concat("all.min.js")
    .target("build/js")
}

exports.images = function* () {
  yield this
    .source(paths.images)
    .imagemin({/* options */})
    .target("build/img")
}<commit_msg>modify example Flyfile to show a babel build task<commit_after>const paths = {
  scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}

exports.default = function* () {
  yield this.tasks.clean()
  yield this.tasks.scripts()
  yield this.watch([paths.scripts])
}

exports.clear = function* () {
  yield this.clear("build")
}

exports.scripts = function* () {
  yield this
    .source(paths.scripts)
    .babel({/* options */})
    .uglify({/* options */})
    .concat("all.min.js")
    .target("build/js")
}
{'fraction_non_alphanumeric': 0.2092436974789916, 'fraction_numerical': 0.0, 'mean_word_length': 3.2688172043010755, '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': '4709745', 'n_tokens_mistral': 415, 'n_tokens_neox': 408, 'n_words': 77}