<commit_before>require 'formula'

class Go < Formula
  homepage 'http://golang.org'
  url 'http://go.googlecode.com/files/go1.0.2.src.tar.gz'
  version '1.0.2'
  sha1 '408bb361df8c34b1bba41383812154e932907526'

  head 'http://go.googlecode.com/hg/'

  skip_clean 'bin'

  def install
    prefix.install Dir['*']

    cd prefix do
      # The version check is due to:<commit_msg>go: install bash completion<commit_after>require 'formula'

class Go < Formula
  homepage 'http://golang.org'
  url 'http://go.googlecode.com/files/go1.0.2.src.tar.gz'
  version '1.0.2'
  sha1 '408bb361df8c34b1bba41383812154e932907526'

  head 'http://go.googlecode.com/hg/'

  skip_clean 'bin'

  def install
    # install the completion script
    (prefix/'etc/bash_completion.d').install 'misc/bash/go' => 'go-completion.bash'

    prefix.install Dir['*']

    cd prefix do
      # The version check is due to:
{'fraction_non_alphanumeric': 0.13692480359147025, 'fraction_numerical': 0.08305274971941638, 'mean_word_length': 3.372549019607843, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5848389', 'n_tokens_mistral': 387, 'n_tokens_neox': 332, 'n_words': 69}