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

class EditorconfigEmacs < EmacsFormula
  desc "EditorConfig plugin for emacs"
  homepage "http://editorconfig.org/"
  url "https://github.com/editorconfig/editorconfig-emacs.git",
      :tag => "v0.6.1",
      :revision => "3d1e4797ea3f5a1bb6d0ec296f04ce05e6e368b4"
  head "https://github.com/editorconfig/editorconfig-emacs.git"
  revision 2

  option "without-editorconfig", "Use the Emacs Lisp implementation of EditorConfig Core"

  depends_on :emacs => "24.1"
  depends_on "cmake" => :build
  depends_on "editorconfig" => :recommended
  depends_on "homebrew/emacs/cl-lib" if Emacs.version < 24.3

  def install
    ENV["LC_ALL"] = "en_US.UTF-8"
    system "make"
    system "make", "test", "PROJECT_ROOT_DIR=#{buildpath}"
    elisp.install Dir["*.el"], Dir["*.elc"]<commit_msg>editorconfig-emacs 0.6.2<commit_after>require File.expand_path("../../Homebrew/emacs_formula", __FILE__)

class EditorconfigEmacs < EmacsFormula
  desc "EditorConfig plugin for emacs"
  homepage "http://editorconfig.org/"
  url "https://github.com/editorconfig/editorconfig-emacs.git",
      :tag => "v0.6.2",
      :revision => "9a269453c5e047e0ed077b175bc9e1dbee9f4b12"
  head "https://github.com/editorconfig/editorconfig-emacs.git"

  option "without-editorconfig", "Use the Emacs Lisp implementation of EditorConfig Core"

  depends_on :emacs => "24.1"
  depends_on "cmake" => :build
  depends_on "editorconfig" => :recommended
  depends_on "homebrew/emacs/cl-lib" if Emacs.version < 24.3

  def install
    ENV["LC_ALL"] = "en_US.UTF-8"
    system "make"
    system "make", "test", "PROJECT_ROOT_DIR=#{buildpath}"
    elisp.install Dir["*.el"], Dir["*.elc"]
{'fraction_non_alphanumeric': 0.14872685185185186, 'fraction_numerical': 0.041087962962962965, 'mean_word_length': 4.352941176470588, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '3802721', 'n_tokens_mistral': 660, 'n_tokens_neox': 629, 'n_words': 118}