<commit_before>require 'formula'

class ClosureCompiler < Formula
  homepage 'http://code.google.com/p/closure-compiler/'
  # Use an SVN download to get the externals as well
  url 'svn+http://closure-compiler.googlecode.com/svn/trunk/', :revision => '2388'
  version '20121212'

  head 'svn+http://closure-compiler.googlecode.com/svn/trunk/'

  def install
    system "ant", "clean"
    system "ant"

    libexec.install Dir['*']
    bin.write_jar_script libexec/'build/compiler.jar', 'closure-compiler'
  end
end
<commit_msg>closure-compiler 20130227<commit_after>require 'formula'

class ClosureCompiler < Formula
  homepage 'http://code.google.com/p/closure-compiler/'
  url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130227'
  version '20130227'

  head 'https://code.google.com/p/closure-compiler/', :using => :git

  def install
    system "ant", "clean"
    system "ant"

    libexec.install Dir['*']
    bin.write_jar_script libexec/'build/compiler.jar', 'closure-compiler'
  end
end

{'fraction_non_alphanumeric': 0.15024390243902438, 'fraction_numerical': 0.0351219512195122, 'mean_word_length': 3.9326923076923075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5089677', 'n_tokens_mistral': 379, 'n_tokens_neox': 345, 'n_words': 73}