<commit_before>path = require 'path'
fs = require 'fs'

module.exports = ->
  @loadNpmTasks 'grunt-shell'

  env = process.env

  chrome = 'echo Skipping Chrome'
  python2 = 'echo Skipping Python2'
  s3 = 'echo Skipping S3'

  # https://code.google.com/p/selenium/wiki/ChromeDriver#Requirements
  if process.platform is 'linux'
    chrome = '/usr/bin/google-chrome'<commit_msg>Allow building on chromium<commit_after>path = require 'path'
fs = require 'fs'

module.exports = ->
  @loadNpmTasks 'grunt-shell'

  env = process.env

  chrome = 'echo Skipping Chrome'
  python2 = 'echo Skipping Python2'
  s3 = 'echo Skipping S3'

  # https://code.google.com/p/selenium/wiki/ChromeDriver#Requirements
  if process.platform is 'linux'
    chrome = '/usr/bin/google-chrome'
    if not fs.existsSync chrome
      chrome = '/usr/bin/chromium'
{'fraction_non_alphanumeric': 0.12589928057553956, 'fraction_numerical': 0.009592326139088728, 'mean_word_length': 3.613259668508287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1517167', 'n_tokens_mistral': 299, 'n_tokens_neox': 282, 'n_words': 68}