<commit_before>class Appledoc < Formula
  desc "Objective-C API documentation generator"
  homepage "http://appledoc.gentlebytes.com/"
  url "https://github.com/tomaz/appledoc/archive/2.2.1.tar.gz"
  sha256 "0ec881f667dfe70d565b7f1328e9ad4eebc8699ee6dcd381f3bd0ccbf35c0337"
  license "Apache-2.0"
  head "https://github.com/tomaz/appledoc.git"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    rebuild 3
    sha256 "a44c317d4c80798c24e3c9b72b622dd037e3c73f47c21e8fce200958322e14f6" => :big_sur
    sha256 "d4808573e4dd15de060e90374e77e43b1df1926cad45bec5331381d7dff1d1f3" => :catalina
    sha256 "a2530c73cfaa02a2a40be2b823d8c2115ce5fe8d0a59c765829aad55bf3e7c33" => :mojave
  end

  depends_on xcode: :build
  depends_on arch: :x86_64
  depends_on :macos

  def install
    xcodebuild "-project", "appledoc.xcodeproj",
               "-target", "appledoc",
               # The 2.2.1 tarball includes prebuild Library/*.a files which only
               # are built for intel:
               "-arch", "x86_64",
               "-configuration", "Release",
               "clean", "install",
               "SYMROOT=build",
               "DSTROOT=build",
               "INSTALL_PATH=/bin",
               "OTHER_CFLAGS='-DCOMPILE_TIME_DEFAULT_TEMPLATE_PATH=@\"#{prefix}/Templates\"'"<commit_msg>appledoc: disable (#68072)<commit_after>class Appledoc < Formula
  desc "Objective-C API documentation generator"
  homepage "http://appledoc.gentlebytes.com/"
  url "https://github.com/tomaz/appledoc/archive/2.2.1.tar.gz"
  sha256 "0ec881f667dfe70d565b7f1328e9ad4eebc8699ee6dcd381f3bd0ccbf35c0337"
  license "Apache-2.0"
  head "https://github.com/tomaz/appledoc.git"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    rebuild 3
    sha256 "a44c317d4c80798c24e3c9b72b622dd037e3c73f47c21e8fce200958322e14f6" => :big_sur
    sha256 "d4808573e4dd15de060e90374e77e43b1df1926cad45bec5331381d7dff1d1f3" => :catalina
    sha256 "a2530c73cfaa02a2a40be2b823d8c2115ce5fe8d0a59c765829aad55bf3e7c33" => :mojave
  end

  # Includes prebuild Library/*.a files (Intel-only)
  # so it does not build fully from source
  disable! date: "2020-12-31", because: :does_not_build

  depends_on xcode: :build
  depends_on arch: :x86_64
  depends_on :macos

  def install
    xcodebuild "-project", "appledoc.xcodeproj",
               "-target", "appledoc",
               "-arch", "x86_64",
               "-configuration", "Release",
               "clean", "install",
               "SYMROOT=build",
               "DSTROOT=build",
               "INSTALL_PATH=/bin",
               "OTHER_CFLAGS='-DCOMPILE_TIME_DEFAULT_TEMPLATE_PATH=@\"#{prefix}/Templates\"'"
{'fraction_non_alphanumeric': 0.10695780903034789, 'fraction_numerical': 0.13989637305699482, 'mean_word_length': 3.1712962962962963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '68600', 'n_tokens_mistral': 1243, 'n_tokens_neox': 1062, 'n_words': 160}