<commit_before>require "formula"

class Flow < Formula
  homepage "http://flowtype.org/"
  url "https://github.com/facebook/flow/archive/v0.3.0.tar.gz"
  sha1 "d325b01c2b42ecb72e3e11dbb988ed08c5e79702"
  head "https://github.com/facebook/flow.git"

  bottle do
    cellar :any
    sha1 "85f19cd0ae02563604f238acca481be9c80e9d07" => :yosemite
    sha1 "4e7d2948772aa186600b9246df60bcc3cfed1b4f" => :mavericks
    sha1 "e9ce9616ff21755b84b0738197e32ca39fb07fc5" => :mountain_lion
  end

  depends_on "objective-caml" => :build

  def install
    system "make"
    bin.install "bin/flow"
    (share/"flow").install "bin/examples"
  end

  test do
    output = `#{bin}/flow single #{share}/flow/examples/01_HelloWorld`
    assert_match(/This type is incompatible with/, output)
    assert_match(/Found 1 error/, output)
  end
end<commit_msg>flow: update 0.3.0 bottle.<commit_after>require "formula"

class Flow < Formula
  homepage "http://flowtype.org/"
  url "https://github.com/facebook/flow/archive/v0.3.0.tar.gz"
  sha1 "d325b01c2b42ecb72e3e11dbb988ed08c5e79702"
  head "https://github.com/facebook/flow.git"

  bottle do
    cellar :any
    sha1 "4eafa6426b9f2785a5c5fe44febcde49e2d5ece9" => :yosemite
    sha1 "40aeac15dfafe1b6641ae1abf48f63d2c34354bc" => :mavericks
    sha1 "87f1da882ce1ae7ccd2c8865a46b79a4a7162546" => :mountain_lion
  end

  depends_on "objective-caml" => :build

  def install
    system "make"
    bin.install "bin/flow"
    (share/"flow").install "bin/examples"
  end

  test do
    output = `#{bin}/flow single #{share}/flow/examples/01_HelloWorld`
    assert_match(/This type is incompatible with/, output)
    assert_match(/Found 1 error/, output)
  end
end
{'fraction_non_alphanumeric': 0.11855364552459988, 'fraction_numerical': 0.12448132780082988, 'mean_word_length': 4.038805970149253, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '80846', 'n_tokens_mistral': 785, 'n_tokens_neox': 679, 'n_words': 116}