<commit_before>require 'formula'

class Ceylon < Formula
  homepage 'http://ceylon-lang.org/'
  url 'http://ceylon-lang.org/download/dist/1_0_0'
  sha1 '24737e1816c16497cb4b504d857530e1a171c2bf'

  def install
    rm_f Dir["bin/*.bat"]

    doc.install Dir['doc/*']
    libexec.install Dir['*']

    # Symlink shell scripts but not args.sh
    bin.install_symlink Dir["#{libexec}/bin/ceylon*"]
  end

  def caveats<commit_msg>ceylon: correctly install manpages.<commit_after>require 'formula'

class Ceylon < Formula
  homepage 'http://ceylon-lang.org/'
  url 'http://ceylon-lang.org/download/dist/1_0_0'
  sha1 '24737e1816c16497cb4b504d857530e1a171c2bf'

  def install
    rm_f Dir["bin/*.bat"]

    man1.install Dir['doc/man/man1/*']
    doc.install Dir['doc/*']
    libexec.install Dir['*']

    # Symlink shell scripts but not args.sh
    bin.install_symlink Dir["#{libexec}/bin/ceylon*"]
  end

  def caveats
{'fraction_non_alphanumeric': 0.14129244249726178, 'fraction_numerical': 0.07447973713033954, 'mean_word_length': 3.7357512953367875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3989580', 'n_tokens_mistral': 387, 'n_tokens_neox': 346, 'n_words': 64}