<commit_before>class ArduinoCli < Formula
  desc "Arduino command-line interface"
  homepage "https://github.com/arduino/arduino-cli"
  url "https://github.com/arduino/arduino-cli.git",
     tag:      "0.18.0",
     revision: "46c23166ee438a31cbc88e12257635684a59334b"
  license "GPL-3.0-only"
  head "https://github.com/arduino/arduino-cli.git"

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

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:  "b1ea08f5ff311ed3034c0c352510b4b48d37a3293d3a9eb1caa7904512df8487"
    sha256 cellar: :any_skip_relocation, catalina: "34f957da91ed2df616bd8838583ef2859606217c6d2461fef4d5ad6a8737a51f"
    sha256 cellar: :any_skip_relocation, mojave:   "d555c3dff0884d07846c78d30100b18dcad505c052e9e5965b00723850320fde"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X github.com/arduino/arduino-cli/version.versionString=#{version}
      -X github.com/arduino/arduino-cli/version.commit=#{Utils.git_head}
    ]
    system "go", "build", *std_go_args, "-ldflags", ldflags.join(" ")
<commit_msg>arduino-cli: update 0.18.0 bottle.<commit_after>class ArduinoCli < Formula
  desc "Arduino command-line interface"
  homepage "https://github.com/arduino/arduino-cli"
  url "https://github.com/arduino/arduino-cli.git",
     tag:      "0.18.0",
     revision: "46c23166ee438a31cbc88e12257635684a59334b"
  license "GPL-3.0-only"
  head "https://github.com/arduino/arduino-cli.git"

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

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:  "c990d6063d7e38893c7536033cf8ec5a6da0f7ced6a878ec30f326fa02d448cd"
    sha256 cellar: :any_skip_relocation, catalina: "15b64c4b224543f5877001a690dcb0742c86ce0f74398fb91c0462151a56ae55"
    sha256 cellar: :any_skip_relocation, mojave:   "b7c04a6fcf7607af05afd707cfc409d3ec4bc7b87854821c19907d54840523de"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X github.com/arduino/arduino-cli/version.versionString=#{version}
      -X github.com/arduino/arduino-cli/version.commit=#{Utils.git_head}
    ]
    system "go", "build", *std_go_args, "-ldflags", ldflags.join(" ")

{'fraction_non_alphanumeric': 0.12933753943217666, 'fraction_numerical': 0.15592609283461017, 'mean_word_length': 4.138888888888889, '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': '5248607', 'n_tokens_mistral': 1151, 'n_tokens_neox': 953, 'n_words': 127}