<commit_before>require "formula"

# Find downloads at:
# https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
class AdobeAirSdk < Formula
  homepage "http://adobe.com/products/air/sdk"
  version "15.0.0.356"

  option "with-flex-support", "Do not download the new compiler with the SDK."

  if build.without? "flex-support"
    url "http://airdownload.adobe.com/air/mac/download/15.0/AIRSDK_Compiler.tbz2"
    sha1 "3e80a9daa5e029f4b9a79ded3faa517a649e90b4"
  else
    url "http://airdownload.adobe.com/air/mac/download/15.0/AdobeAIRSDK.tbz2"
    sha1 "47af192cebce5c08fcdde6bcc14aed5941a9ca85"
  end

  def install
    rm_f Dir["bin/*.bat"]
    libexec.install Dir["*"]
    bin.write_exec_script Dir["#{libexec}/bin/*"]
  end

  def caveats; <<-EOS.undent
    To set AIR_HOME:
      export AIR_HOME=#{libexec}
    EOS
  end
end<commit_msg>adobe-air-sdk 16.0.0.272<commit_after>require "formula"

# Find downloads at:
# https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
class AdobeAirSdk < Formula
  homepage "http://adobe.com/products/air/sdk"
  version "16.0.0.272"

  option "with-flex-support", "Do not download the new compiler with the SDK."

  if build.without? "flex-support"
    url "http://airdownload.adobe.com/air/mac/download/16.0/AIRSDK_Compiler.tbz2"
    sha1 "ee487b3c0456ba825dd6af48682ba81802ef0300"
  else
    url "http://airdownload.adobe.com/air/mac/download/16.0/AdobeAIRSDK.tbz2"
    sha1 "65b0bf2163cb99566484bbebc65d4cf8cb8af898"
  end

  def install
    rm_f Dir["bin/*.bat"]
    libexec.install Dir["*"]
    bin.write_exec_script Dir["#{libexec}/bin/*"]
  end

  def caveats; <<-EOS.undent
    To set AIR_HOME:
      export AIR_HOME=#{libexec}
    EOS
  end
end
{'fraction_non_alphanumeric': 0.13649677797305212, 'fraction_numerical': 0.07615700058582309, 'mean_word_length': 3.6287262872628725, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4869587', 'n_tokens_mistral': 766, 'n_tokens_neox': 687, 'n_words': 114}