<commit_before>require File.expand_path("../../Homebrew/emacs_formula", __FILE__)

class Flycheck < EmacsFormula
  desc "On-the-fly syntax checking extension"
  homepage "http://www.flycheck.org/"
  url "https://github.com/flycheck/flycheck/archive/0.25.tar.gz"
  sha256 "dc85d1e67a83020aafc63df980aa6bbb07595f6ef32d8888089066b8f62ad34a"
  head "https://github.com/flycheck/flycheck.git"

  option "with-package", "Install flycheck-package"

  depends_on :emacs => "24.3"
  depends_on "cask"
  depends_on "homebrew/emacs/dash-emacs"
  depends_on "homebrew/emacs/let-alist"
  depends_on "homebrew/emacs/pkg-info"
  depends_on "homebrew/emacs/seq"

  resource "package" do
    url "https://github.com/purcell/flycheck-package/archive/0.8.tar.gz"
    sha256 "86bcccb66b68ea31707429c0da59fe616a9ecc93a8b9e782055758a4888ca030"
  end

  def install
    if build.with? "package"
      resource("package").stage do
        byte_compile "flycheck-package.el"
        (share/"emacs/site-lisp/flycheck").install "flycheck-package.el"
      end
    end

    system "make", "compile", "CASK=#{Formula["cask"].bin}/cask"<commit_msg>flycheck 0.25.1<commit_after>require File.expand_path("../../Homebrew/emacs_formula", __FILE__)

class Flycheck < EmacsFormula
  desc "On-the-fly syntax checking extension"
  homepage "http://www.flycheck.org/"
  url "https://github.com/flycheck/flycheck/archive/0.25.1.tar.gz"
  sha256 "90f0c51a65966291577a1714f9d230de4b56969849add22cf580955351867ee0"
  head "https://github.com/flycheck/flycheck.git"

  option "with-package", "Install flycheck-package"

  depends_on :emacs => "24.3"
  depends_on "cask"
  depends_on "homebrew/emacs/dash-emacs"
  depends_on "homebrew/emacs/let-alist"
  depends_on "homebrew/emacs/pkg-info"
  depends_on "homebrew/emacs/seq"

  resource "package" do
    url "https://github.com/purcell/flycheck-package/archive/0.8.tar.gz"
    sha256 "86bcccb66b68ea31707429c0da59fe616a9ecc93a8b9e782055758a4888ca030"
  end

  def install
    if build.with? "package"
      resource("package").stage do
        byte_compile "flycheck-package.el"
        (share/"emacs/site-lisp/flycheck").install "flycheck-package.el"
      end
    end

    system "make", "compile", "CASK=#{Formula["cask"].bin}/cask"
{'fraction_non_alphanumeric': 0.134375, 'fraction_numerical': 0.09017857142857143, 'mean_word_length': 4.151724137931034, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '1733217', 'n_tokens_mistral': 967, 'n_tokens_neox': 866, 'n_words': 122}