<commit_before>require 'formula'

class Jsl < Formula
  homepage 'http://www.javascriptlint.com/'
  url 'http://www.javascriptlint.com/download/jsl-0.3.0-mac.tar.gz'
  sha1 'a6dd106a05ee81130a27a49d29233afeb8796ab0'

  def install
    bin.install 'jsl'
  end
end
<commit_msg>jsl: build from source to support PPC<commit_after>require 'formula'

class Jsl < Formula
  homepage 'http://www.javascriptlint.com/'
  url 'http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz'
  sha1 'f27ec18d1dd325f895bc1682d7be8872c213a986'

  def install
    cd 'src' do
      system 'make -f Makefile.ref'
      cd 'Darwin_DBG.OBJ' do
        bin.install 'jsl'
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.11521418020679468, 'fraction_numerical': 0.08714918759231906, 'mean_word_length': 3.3461538461538463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7210709', 'n_tokens_mistral': 300, 'n_tokens_neox': 269, 'n_words': 52}