<commit_before>require 'formula'

class Go < Formula
  homepage 'http://golang.org'
  head 'https://go.googlecode.com/hg/'
  url 'https://storage.googleapis.com/golang/go1.3.1.src.tar.gz'
  version '1.3.1'
  sha1 'bc296c9c305bacfbd7bff9e1b54f6f66ae421e6e'

  bottle do
    sha1 "92885faffe7868e235b2193f083cf9740f87bfc5" => :mavericks
    sha1 "7c8560c70bd7ded578cdb38d5e76099d7e2e20cc" => :mountain_lion
    sha1 "a77195042b6d467e90a27ef14e54315a22b8a3b9" => :lion
  end

  option 'cross-compile-all', "Build the cross-compilers and runtime support for all supported platforms"
  option 'cross-compile-common', "Build the cross-compilers and runtime support for darwin, linux and windows"
  option 'without-cgo', "Build without cgo"

  def install
    # install the completion scripts
    bash_completion.install 'misc/bash/go' => 'go-completion.bash'
    zsh_completion.install 'misc/zsh/go' => '_go'

    # host platform (darwin) must come last in the targets list
    if build.include? 'cross-compile-all'
      targets = [
        ['linux',   ['386', 'amd64', 'arm']],
        ['freebsd', ['386', 'amd64', 'arm']],
        ['netbsd',  ['386', 'amd64', 'arm']],
        ['openbsd', ['386', 'amd64']],
        ['windows', ['386', 'amd64']],
        ['dragonfly', ['386', 'amd64']],
        ['plan9',   ['386', 'amd64']],
        ['solaris', ['amd64']],
        ['darwin',  ['386', 'amd64']],
      ]
    elsif build.include? 'cross-compile-common'
      targets = [
        ['linux',   ['386', 'amd64', 'arm']],
        ['windows', ['386', 'amd64']],
        ['darwin',  ['386', 'amd64']],
      ]
    else<commit_msg>go: update 1.3.1 bottle.<commit_after>require 'formula'

class Go < Formula
  homepage 'http://golang.org'
  head 'https://go.googlecode.com/hg/'
  url 'https://storage.googleapis.com/golang/go1.3.1.src.tar.gz'
  version '1.3.1'
  sha1 'bc296c9c305bacfbd7bff9e1b54f6f66ae421e6e'

  bottle do
    revision 1
    sha1 "9637d93efc0f70b1bdf3412f6684247a46104105" => :mavericks
    sha1 "fbb03d1111c201253abf12ec8440761b0d6833f7" => :mountain_lion
    sha1 "398053db3dc27be9797bd4cdd583b57a12033483" => :lion
  end

  option 'cross-compile-all', "Build the cross-compilers and runtime support for all supported platforms"
  option 'cross-compile-common', "Build the cross-compilers and runtime support for darwin, linux and windows"
  option 'without-cgo', "Build without cgo"

  def install
    # install the completion scripts
    bash_completion.install 'misc/bash/go' => 'go-completion.bash'
    zsh_completion.install 'misc/zsh/go' => '_go'

    # host platform (darwin) must come last in the targets list
    if build.include? 'cross-compile-all'
      targets = [
        ['linux',   ['386', 'amd64', 'arm']],
        ['freebsd', ['386', 'amd64', 'arm']],
        ['netbsd',  ['386', 'amd64', 'arm']],
        ['openbsd', ['386', 'amd64']],
        ['windows', ['386', 'amd64']],
        ['dragonfly', ['386', 'amd64']],
        ['plan9',   ['386', 'amd64']],
        ['solaris', ['amd64']],
        ['darwin',  ['386', 'amd64']],
      ]
    elsif build.include? 'cross-compile-common'
      targets = [
        ['linux',   ['386', 'amd64', 'arm']],
        ['windows', ['386', 'amd64']],
        ['darwin',  ['386', 'amd64']],
      ]
    else
{'fraction_non_alphanumeric': 0.1762545899632803, 'fraction_numerical': 0.10342717258261934, 'mean_word_length': 3.2399481193255513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '2718333', 'n_tokens_mistral': 1406, 'n_tokens_neox': 1194, 'n_words': 258}