<commit_before>require 'formula'

class Task < Formula
  homepage 'http://www.taskwarrior.org/'
  url 'http://www.taskwarrior.org/download/task-2.0.0.tar.gz'
  sha1 'dc587363fbdc1dcac7f7e07b1bccfd1fb56b2435'

  depends_on "cmake" => :build

  skip_clean :all

  def install
    system "cmake", ".", *std_cmake_args
    system "make install"
    (etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
    (share+'zsh/site-functions').install   'scripts/zsh/_task'
  end

  def caveats; <<-EOS.undent
    Bash completion has been installed to:
      #{etc}/bash_completion.d

    zsh completion has been installed to:<commit_msg>task 2.1.0<commit_after>require 'formula'

class Task < Formula
  homepage 'http://www.taskwarrior.org/'
  url 'http://www.taskwarrior.org/download/task-2.1.0.tar.gz'
  sha1 'fd1120db56bf44e0d84191d5dce29a6d9d872a8a'

  depends_on "cmake" => :build

  skip_clean :all

  def install
    system "cmake", ".", *std_cmake_args
    system "make install"
    (etc+'bash_completion.d').install 'scripts/bash/task.sh'
    (share+'zsh/site-functions').install   'scripts/zsh/_task'
  end

  def caveats; <<-EOS.undent
    Bash completion has been installed to:
      #{etc}/bash_completion.d

    zsh completion has been installed to:
{'fraction_non_alphanumeric': 0.13112164296998421, 'fraction_numerical': 0.04186413902053712, 'mean_word_length': 3.7276119402985075, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5725757', 'n_tokens_mistral': 505, 'n_tokens_neox': 471, 'n_words': 90}