<commit_before>require 'formula'

class Redo <Formula
  version '0.06'
  url "https://github.com/apenwarr/redo/zipball/redo-#{version}"
  homepage 'https://github.com/apenwarr/redo'
  md5 '7af7d8a639943731bb0370427b55bf10'

  def install
    ENV['PREFIX'] = prefix
    system "./redo install"
  end
end<commit_msg>Install redo manpages<commit_after>require 'formula'

class RedoDocs <Formula
  head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
  version 'foo'
end

class Redo <Formula
  version '0.06'
  url "https://github.com/apenwarr/redo/zipball/redo-#{version}"
  homepage 'https://github.com/apenwarr/redo'
  md5 '7af7d8a639943731bb0370427b55bf10'

  def install
    ENV['PREFIX'] = prefix
    system "./redo install"
    rm share/:doc/:redo/'README.md' # lets not have two copies

    RedoDocs.new('redodocs').brew do |formula|
      man1.install Dir['*']
    end
  end
end
{'fraction_non_alphanumeric': 0.14489571899012074, 'fraction_numerical': 0.06037321624588365, 'mean_word_length': 3.8253968253968256, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, 'https://': 5, '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': '4689663', 'n_tokens_mistral': 388, 'n_tokens_neox': 357, 'n_words': 70}