<commit_before>class Gostatic < Formula
  desc "Fast static site generator"
  homepage "https://github.com/piranha/gostatic"
  url "https://github.com/piranha/gostatic/archive/2.31.tar.gz"
  sha256 "a1c41e9992878e9ba5505aac8d09ac7ca6aa339d47e8fed5370a53af4df5e6c1"
  license "ISC"
  head "https://github.com/piranha/gostatic.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "36cbfb0d278f1810fe443d39741329d7b7c0dd34aff3729e49470f639144ab1c"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "92d635f02d982151beb9a3419e72f7b9f10a70427cf9777710e7fec1a6093536"
    sha256 cellar: :any_skip_relocation, monterey:       "521a194ae06f35a3adc39ecd85657006e4150c46dc1cf9083442a23ca619a915"
    sha256 cellar: :any_skip_relocation, big_sur:        "d5493418b9c455a1078b2de5a12ac2dc3360ea45bf9b59fb9a75c7d7b938fc64"
    sha256 cellar: :any_skip_relocation, catalina:       "7844d8d6439ebac5896d509edcea9aa780cb742d5835a1e035cf0f7a9cdc3387"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "7c665a466cb65dd10d9db5b4c4ad0b77773836f2df1809112718d4599fa3c8a5"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args, "-ldflags", "-s -w"
  end

  test do<commit_msg>gostatic 2.32<commit_after>class Gostatic < Formula
  desc "Fast static site generator"
  homepage "https://github.com/piranha/gostatic"
  url "https://github.com/piranha/gostatic/archive/2.32.tar.gz"
  sha256 "857de1667660e71f890de019a230ce6c0ab5fdb2420511c4cf74d5f73a5a224a"
  license "ISC"
  head "https://github.com/piranha/gostatic.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "36cbfb0d278f1810fe443d39741329d7b7c0dd34aff3729e49470f639144ab1c"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "92d635f02d982151beb9a3419e72f7b9f10a70427cf9777710e7fec1a6093536"
    sha256 cellar: :any_skip_relocation, monterey:       "521a194ae06f35a3adc39ecd85657006e4150c46dc1cf9083442a23ca619a915"
    sha256 cellar: :any_skip_relocation, big_sur:        "d5493418b9c455a1078b2de5a12ac2dc3360ea45bf9b59fb9a75c7d7b938fc64"
    sha256 cellar: :any_skip_relocation, catalina:       "7844d8d6439ebac5896d509edcea9aa780cb742d5835a1e035cf0f7a9cdc3387"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "7c665a466cb65dd10d9db5b4c4ad0b77773836f2df1809112718d4599fa3c8a5"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args, "-ldflags", "-s -w"
  end

  test do
{'fraction_non_alphanumeric': 0.07959183673469387, 'fraction_numerical': 0.2620408163265306, 'mean_word_length': 6.187683284457478, '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': '2180806', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1123, 'n_words': 132}