<commit_before>require 'coffee-script/register'
gulp = require 'gulp'
coffee = require 'gulp-coffee'
mocha = require 'gulp-mocha'
shell = require 'gulp-shell'

gulp.task 'coffee', ->
  gulp.src(['retro.coffee', 'libretro_h.coffee'])
  .pipe(coffee())
  .pipe(gulp.dest '.')
gulp.task 'mocha', ['gyp', 'coffee'], ->
  gulp.src(['test.coffee'], read: false)
  .pipe mocha
    reporter: 'spec',
    globals:
      should: require 'should'
gulp.task 'gyp', shell.task [
  './node_modules/.bin/node-pre-gyp build'
]
gulp.task 'install', shell.task [
  './node_modules/.bin/node-pre-gyp install --fallback-to-build'
]

gulp.task 'build', ['gyp', 'coffee']
gulp.task 'test', ['mocha']
gulp.task 'prepublish', ['build']
gulp.task 'default', ['build', 'test']<commit_msg>Make build script work on Win32.<commit_after>require 'coffee-script/register'
gulp = require 'gulp'
coffee = require 'gulp-coffee'
mocha = require 'gulp-mocha'
shell = require 'gulp-shell'

gulp.task 'coffee', ->
  gulp.src(['retro.coffee', 'libretro_h.coffee'])
  .pipe(coffee())
  .pipe(gulp.dest '.')
gulp.task 'mocha', ['gyp', 'coffee'], ->
  gulp.src(['test.coffee'], read: false)
  .pipe mocha
    reporter: 'spec',
    globals:
      should: require 'should'
gulp.task 'gyp', shell.task [
  'node-pre-gyp build'
]
gulp.task 'install', shell.task [
  'node-pre-gyp install --fallback-to-build'
]

gulp.task 'build', ['gyp', 'coffee']
gulp.task 'test', ['mocha']
gulp.task 'prepublish', ['build']
gulp.task 'default', ['build', 'test']
{'fraction_non_alphanumeric': 0.2055888223552894, 'fraction_numerical': 0.0013306719893546241, 'mean_word_length': 4.2404181184668985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5851135', 'n_tokens_mistral': 620, 'n_tokens_neox': 598, 'n_words': 124}