<commit_before>class Tilt < Formula
  desc "Define your dev environment as code. For microservice apps on Kubernetes"
  homepage "https://tilt.dev/"
  url "https://github.com/tilt-dev/tilt.git",
    tag:      "v0.23.0",
    revision: "d3ebf7fb553a58f7ba90afb969c49b9c029e9fe6"
  license "Apache-2.0"
  head "https://github.com/tilt-dev/tilt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "fcb45daa09a2ba2a99a7facf806442e3ad9e6377a8943cb3e7ba7ca1f3105149"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "2f828931d6e4a89a5a2dcff7b1195acde58afe6af6eb3274d28b07b693803544"
    sha256 cellar: :any_skip_relocation, monterey:       "ba06bc05ca9e9e3a2bb3a61e299e6b34f2e98cdc884f63f07ab3b314e9df062c"
    sha256 cellar: :any_skip_relocation, big_sur:        "819961e1dfda3b5292d6a4ffa6623a6ce30b58d1b98037aa750577467241b9a0"
    sha256 cellar: :any_skip_relocation, catalina:       "f9612a873440f27a7a6e98fb8c285ae670de5dcaa69a4c01f84826067b094f19"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "eabfd8a07710244758f9e1786d31274c89e8e6b970b06246b83dc022bb55f804"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "1"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.commit=#{Utils.git_head}
      -X main.date=#{time.iso8601}
    ].join(" ")
    system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/tilt"
    # Install bash completion
    output = Utils.safe_popen_read("#{bin}/tilt", "completion", "bash")
    (bash_completion/"tilt").write output

    # Install zsh completion
    output = Utils.safe_popen_read("#{bin}/tilt", "completion", "zsh")
    (zsh_completion/"_tilt").write output

    # Install fish completion<commit_msg>tilt: update 0.23.0 bottle.<commit_after>class Tilt < Formula
  desc "Define your dev environment as code. For microservice apps on Kubernetes"
  homepage "https://tilt.dev/"
  url "https://github.com/tilt-dev/tilt.git",
    tag:      "v0.23.0",
    revision: "d3ebf7fb553a58f7ba90afb969c49b9c029e9fe6"
  license "Apache-2.0"
  head "https://github.com/tilt-dev/tilt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "e9e0bce5e0f46980846590824490268aaa549112e84b259e2114e01887f6c5db"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "5ddf7f2a96d0a99c9bf8dc691674f546916498321a7956d7282c8e36e31ce6f1"
    sha256 cellar: :any_skip_relocation, monterey:       "8b4f851ad600ee5f30f32ede12421f0f22282aa18a4f7a5cd852668019b492e1"
    sha256 cellar: :any_skip_relocation, big_sur:        "bf1ac17cae310e49652ff88abf43a162cb49873efd29b94a67508c841d63d559"
    sha256 cellar: :any_skip_relocation, catalina:       "037dc69741c7bd31ede71cb1e286cd26032aad74125178de320b383dccdb8e8e"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "4bf9e3e7114a739ba86ff24e1fb341bcd9d19c698f17037c102addd0d629f704"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "1"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.commit=#{Utils.git_head}
      -X main.date=#{time.iso8601}
    ].join(" ")
    system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/tilt"
    # Install bash completion
    output = Utils.safe_popen_read("#{bin}/tilt", "completion", "bash")
    (bash_completion/"tilt").write output

    # Install zsh completion
    output = Utils.safe_popen_read("#{bin}/tilt", "completion", "zsh")
    (zsh_completion/"_tilt").write output

    # Install fish completion
{'fraction_non_alphanumeric': 0.11136363636363636, 'fraction_numerical': 0.17244318181818183, 'mean_word_length': 4.597774244833069, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6461212', 'n_tokens_mistral': 1807, 'n_tokens_neox': 1479, 'n_words': 216}