<commit_before>require 'formula'

class Gant < Formula
  url 'http://dist.codehaus.org/gant/distributions/gant-1.9.3-_groovy-1.7.3.tgz'
  version '1.9.3'
  homepage 'http://gant.codehaus.org/'
  md5 '4a56ef11a7e7beaadbce59fe8510ef5b'

  depends_on 'groovy'

  def install
    rm_f Dir["bin/*.bat"]
    # gant-starter.conf is found relative to bin
    libexec.install %w[bin lib conf]
    (bin+'gant').write <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/bin/gant
    EOS
  end
end<commit_msg>Gant 1.9.4<commit_after>require 'formula'

class Gant < Formula
  url 'http://dist.codehaus.org/gant/distributions/gant-1.9.4-_groovy-1.8.0.tgz'
  version '1.9.4'
  homepage 'http://gant.codehaus.org/'
  sha1 'cdefba538de14a89400f71fd3273ba4bf8b06641'

  depends_on 'groovy'

  def install
    rm_f Dir["bin/*.bat"]
    # gant-starter.conf is found relative to bin
    libexec.install %w[bin lib conf]
    bin.mkpath
    Dir["#{libexec}/bin/*"].each do |f|
      next unless File.extname(f).empty?
      ln_s f, bin+File.basename(f)
    end
  end
end
{'fraction_non_alphanumeric': 0.14585319351763584, 'fraction_numerical': 0.057197330791229746, 'mean_word_length': 3.1176470588235294, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3706590', 'n_tokens_mistral': 468, 'n_tokens_neox': 438, 'n_words': 79}