<commit_before>class Godep < Formula
  desc "Dependency tool for go"
  homepage "https://godoc.org/github.com/tools/godep"
  url "https://github.com/tools/godep/archive/v80.tar.gz"
  sha256 "029adc1a0ce5c63cd40b56660664e73456648e5c031ba6c214ba1e1e9fc86cf6"
  revision 7
  head "https://github.com/tools/godep.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "c3a03f0c0de0a14d79f32334c7fb3ffee121bb7f145062ecd6e0683fb1c67c61" => :mojave
    sha256 "1732fbdbeaa819fb82ab0a788d5d90e6e255550950c86c6a426f5dd57165469f" => :high_sierra
    sha256 "c567fad12d39b99155f9e33d60798be327ebdbfbb278f7950c1164c146e2733e" => :sierra
  end

  depends_on "go"

  def install
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/tools/godep").install buildpath.children
    cd "src/github.com/tools/godep" do
      system "go", "build", "-o", bin/"godep"
      prefix.install_metafiles
    end
  end

  test do
    ENV["GOPATH"] = testpath.realpath<commit_msg>godep: revision for go<commit_after>class Godep < Formula
  desc "Dependency tool for go"
  homepage "https://godoc.org/github.com/tools/godep"
  url "https://github.com/tools/godep/archive/v80.tar.gz"
  sha256 "029adc1a0ce5c63cd40b56660664e73456648e5c031ba6c214ba1e1e9fc86cf6"
  revision 8
  head "https://github.com/tools/godep.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "c3a03f0c0de0a14d79f32334c7fb3ffee121bb7f145062ecd6e0683fb1c67c61" => :mojave
    sha256 "1732fbdbeaa819fb82ab0a788d5d90e6e255550950c86c6a426f5dd57165469f" => :high_sierra
    sha256 "c567fad12d39b99155f9e33d60798be327ebdbfbb278f7950c1164c146e2733e" => :sierra
  end

  depends_on "go"

  def install
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/tools/godep").install buildpath.children
    cd "src/github.com/tools/godep" do
      system "go", "build", "-o", bin/"godep"
      prefix.install_metafiles
    end
  end

  test do
    ENV["GOPATH"] = testpath.realpath
{'fraction_non_alphanumeric': 0.10284237726098192, 'fraction_numerical': 0.17984496124031008, 'mean_word_length': 4.531428571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '5126588', 'n_tokens_mistral': 1025, 'n_tokens_neox': 839, 'n_words': 112}