<commit_before>class ZeldaRothSe < Formula
  desc "Zelda Return of the Hylian SE"
  homepage "https://www.solarus-games.org/en/games/the-legend-of-zelda-return-of-the-hylian-se"
  url "https://gitlab.com/solarus-games/zelda-roth-se/-/archive/v1.2.0/zelda-roth-se-v1.2.0.tar.bz2"
  sha256 "27fd5c5be969437eecdc1e8472284f74c7e2d977b7e06c4c395046f6761782e8"
  head "https://gitlab.com/solarus-games/zelda-roth-se.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "b474938504c1a9ac9a9f5374a6a4aa01196e0c31cf2d09fbd4c0452fc1d6900f" => :mojave
    sha256 "d8b2f8842d8ecd958f169c2f8b388fcb63859fd63a23de40ba86b0d622517c7e" => :high_sierra
    sha256 "d837cba79ce9aeea303d195a6122ec9dd213331e9ab9e25bb031cf1a4fd11424" => :sierra
  end

  depends_on "cmake" => :build
  depends_on "solarus"

  def install
    system "cmake", ".", *std_cmake_args, "-DSOLARUS_INSTALL_DATADIR=#{share}"
    system "make", "install"
  end

  test do<commit_msg>zelda-roth-se 1.2.1<commit_after>class ZeldaRothSe < Formula
  desc "Zelda Return of the Hylian SE"
  homepage "https://www.solarus-games.org/en/games/the-legend-of-zelda-return-of-the-hylian-se"
  url "https://gitlab.com/solarus-games/zelda-roth-se/-/archive/v1.2.1/zelda-roth-se-v1.2.1.tar.bz2"
  sha256 "1cff44fe97eab1327a0c0d11107ca10ea983a652c4780487f00f2660a6ab23c0"
  head "https://gitlab.com/solarus-games/zelda-roth-se.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "b474938504c1a9ac9a9f5374a6a4aa01196e0c31cf2d09fbd4c0452fc1d6900f" => :mojave
    sha256 "d8b2f8842d8ecd958f169c2f8b388fcb63859fd63a23de40ba86b0d622517c7e" => :high_sierra
    sha256 "d837cba79ce9aeea303d195a6122ec9dd213331e9ab9e25bb031cf1a4fd11424" => :sierra
  end

  depends_on "cmake" => :build
  depends_on "solarus"

  def install
    system "cmake", ".", *std_cmake_args, "-DSOLARUS_INSTALL_DATADIR=#{share}"
    system "make", "install"
  end

  test do
{'fraction_non_alphanumeric': 0.11615628299894404, 'fraction_numerical': 0.18848996832101372, 'mean_word_length': 4.996835443037975, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '2097628', 'n_tokens_mistral': 1089, 'n_tokens_neox': 912, 'n_words': 98}