<commit_before>class Goenv < Formula
  desc "Go version management"
  homepage "https://github.com/syndbg/goenv"
  url "https://github.com/syndbg/goenv/archive/2.0.0.tar.gz"
  sha256 "b0a6ce9d758344145367688088595ec077d556d1682bff817c23861f6d4fd2df"
  license "MIT"
  version_scheme 1
  head "https://github.com/syndbg/goenv.git", branch: "master"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
    sha256 cellar: :any_skip_relocation, monterey:       "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, big_sur:        "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, catalina:       "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
  end

  def install
    inreplace_files = [
      "libexec/goenv",
      "plugins/go-build/install.sh",
      "test/goenv.bats",
      "test/test_helper.bash",
    ]
    inreplace inreplace_files, "/usr/local", HOMEBREW_PREFIX

    prefix.install Dir["*"]
    %w[goenv-install goenv-uninstall go-build].each do |cmd|
      bin.install_symlink "#{prefix}/plugins/go-build/bin/#{cmd}"
    end
  end

  test do
    assert_match "Usage: goenv <command> [<args>]", shell_output("#{bin}/goenv help")
  end<commit_msg>goenv: update 2.0.0 bottle.<commit_after>class Goenv < Formula
  desc "Go version management"
  homepage "https://github.com/syndbg/goenv"
  url "https://github.com/syndbg/goenv/archive/2.0.0.tar.gz"
  sha256 "b0a6ce9d758344145367688088595ec077d556d1682bff817c23861f6d4fd2df"
  license "MIT"
  version_scheme 1
  head "https://github.com/syndbg/goenv.git", branch: "master"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
    sha256 cellar: :any_skip_relocation, monterey:       "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, big_sur:        "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, catalina:       "cb6cb190a223d9e86c4a8ffbecad50adc1e1d567e4ee5054ed068aac62c997b3"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "c907313711c6d59f30992102c9c7dd63edfb36c7d1bd5103e3545df13b89450c"
  end

  def install
    inreplace_files = [
      "libexec/goenv",
      "plugins/go-build/install.sh",
      "test/goenv.bats",
      "test/test_helper.bash",
    ]
    inreplace inreplace_files, "/usr/local", HOMEBREW_PREFIX

    prefix.install Dir["*"]
    %w[goenv-install goenv-uninstall go-build].each do |cmd|
      bin.install_symlink "#{prefix}/plugins/go-build/bin/#{cmd}"
    end
  end

  test do
    assert_match "Usage: goenv <command> [<args>]", shell_output("#{bin}/goenv help")
  end
{'fraction_non_alphanumeric': 0.10466439135381114, 'fraction_numerical': 0.1885665529010239, 'mean_word_length': 4.832504145936982, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '4070125', 'n_tokens_mistral': 1875, 'n_tokens_neox': 1514, 'n_words': 191}