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

class ClojureMode < EmacsFormula
  desc "Emacs major mode for Clojure"
  homepage "https://github.com/clojure-emacs/clojure-mode"
  url "https://github.com/clojure-emacs/clojure-mode/archive/5.0.1.tar.gz"
  sha256 "e046f8c2c286c50724c2c11725d0dbc33c3247bc4f5f2e070483b414bacc3dce"
  head "https://github.com/clojure-emacs/clojure-mode.git"

  option "with-inf", "Build with the \"inferior\" REPL"

  depends_on :emacs => "24.3"
  depends_on "cask"

  resource "inf" do
    url "https://github.com/clojure-emacs/inf-clojure/archive/v1.3.0.tar.gz"
    sha256 "adadc2a73a41c9409dcba3a1a2fe37ae3e3e4ec0d3aed2000d30df6d1ff70a93"
  end

  def install
    if build.with? "inf"
      resource("inf").stage do
        byte_compile "inf-clojure.el"
        elisp.install "inf-clojure.el", "inf-clojure.elc"
      end
    end
    system "make", "test", "CASK=#{Formula["cask"].bin}/cask"
    system "make", "compile", "CASK=#{Formula["cask"].bin}/cask"
    elisp.install Dir["*.el"], Dir["*.elc"]<commit_msg>clojure-mode 5.1.0<commit_after>require File.expand_path("../../Homebrew/emacs_formula", __FILE__)

class ClojureMode < EmacsFormula
  desc "Emacs major mode for Clojure"
  homepage "https://github.com/clojure-emacs/clojure-mode"
  url "https://github.com/clojure-emacs/clojure-mode/archive/5.1.0.tar.gz"
  sha256 "3f688b8d352935745eee522faba7ad63a64b5e58217b3913fc9bde9356f8dc6c"
  head "https://github.com/clojure-emacs/clojure-mode.git"

  option "with-inf", "Build with the inferior REPL"

  depends_on :emacs => "24.3"
  depends_on "cask"

  resource "inf" do
    url "https://github.com/clojure-emacs/inf-clojure/archive/v1.3.0.tar.gz"
    sha256 "adadc2a73a41c9409dcba3a1a2fe37ae3e3e4ec0d3aed2000d30df6d1ff70a93"
  end

  def install
    if build.with? "inf"
      resource("inf").stage do
        byte_compile "inf-clojure.el"
        elisp.install "inf-clojure.el", "inf-clojure.elc"
      end
    end
    system "make", "test"
    system "make", "compile"
    elisp.install Dir["*.el"], Dir["*.elc"]
{'fraction_non_alphanumeric': 0.1488750598372427, 'fraction_numerical': 0.08281474389660125, 'mean_word_length': 3.8267898383371826, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '201261', 'n_tokens_mistral': 964, 'n_tokens_neox': 883, 'n_words': 128}