<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.30.11",
    revision: "af2080d0cebc45217d43f248a22da40752c9fc18"
  license "Apache-2.0"
  head "https://github.com/tilt-dev/tilt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "187f900fac0c580f105f365060740aa49fea49442c72522f3944da6f9f58f828"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "1702ad819222741fb0c782531847f2daf1cfe546e495283f33d125ddadf87470"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "e019b2329cc83b00bfafd480e0a3550b67e161d4b396dcbb21945967c8584c3f"
    sha256 cellar: :any_skip_relocation, monterey:       "ae74ce942cec80b67075f8a0ced8c8ab62d46fdeceeaa5539309f5a3bd28ef2e"
    sha256 cellar: :any_skip_relocation, big_sur:        "5cf56c264adc653aeda09b5c20915b0d15852fdbf69000e15bffdabc69df67ee"
    sha256 cellar: :any_skip_relocation, catalina:       "b542251e328dd73ad16145a30ccaf43ecd6d8f37d1e69318a488749441f9e15d"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "c5ecfd324d0ba81f712277c06aeab95c9e7bbf6aba01bcba6a3f0282fc12d10c"
  end

  depends_on "go" => :build
  depends_on "node@16" => :build
  depends_on "yarn" => :build

  def install
    # bundling the frontend assets first will allow them to be embedded into
    # the final build
    system "make", "build-js"

    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"

    generate_completions_from_executable(bin/"tilt", "completion")
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/tilt version")

    assert_match "Error: No tilt apiserver found: tilt-default", shell_output("#{bin}/tilt api-resources 2>&1", 1)
  end
end
<commit_msg>tilt: update 0.30.11 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.30.11",
    revision: "af2080d0cebc45217d43f248a22da40752c9fc18"
  license "Apache-2.0"
  head "https://github.com/tilt-dev/tilt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "5570fcb597b9ef05d35ca6b39262ae0b884ba0d261ecdae087c51e2223417efd"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "a3a6adf2d233d3bb1778d7083c52834cc44a331b0e136486e18fa4849d9220e5"
    sha256 cellar: :any_skip_relocation, monterey:       "e0a33b044e4f0e61295b97ba157334346943558d62103a6e9338ce6b2fc7f2f6"
    sha256 cellar: :any_skip_relocation, big_sur:        "347137798a69931525799e262b2fc5713bf51af0711076e73e33c3bd55c6878a"
    sha256 cellar: :any_skip_relocation, catalina:       "49ec7582b048ee5eeb4062998458021ec444c122f6e446dca3eaa8f93c53137c"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "c9f096d8e5a759d5db13b3d5b063fd53fcdaef8ac4f9c7ee40112b7da83fbef1"
  end

  depends_on "go" => :build
  depends_on "node@16" => :build
  depends_on "yarn" => :build

  def install
    # bundling the frontend assets first will allow them to be embedded into
    # the final build
    system "make", "build-js"

    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"

    generate_completions_from_executable(bin/"tilt", "completion")
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/tilt version")

    assert_match "Error: No tilt apiserver found: tilt-default", shell_output("#{bin}/tilt api-resources 2>&1", 1)
  end
end

{'fraction_non_alphanumeric': 0.10467762326169405, 'fraction_numerical': 0.16788874841972187, 'mean_word_length': 4.627311522048364, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5647130', 'n_tokens_mistral': 1991, 'n_tokens_neox': 1629, 'n_words': 272}