<commit_before>#
# Cookbook Name:: toad
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#

include_recipe "build-essential"

%w{git qt4-qmake libqt4-core libqt4-dev libqt4-webkit xvfb qt4-dev-tools libicu48}.each do |name|
  package name do
    action :install
  end
end

git "/home/brain/toad" do
   repository "git://github.com/brain-geek/toad.git"
   action :sync

  user "brain"
  group "brain"
end

execute "build toad" do
  command "qmake&&make clean&&make"
  cwd "/home/brain/toad"

  user "brain"
  group "brain"
end<commit_msg>Also install httperf on toad server.<commit_after>#
# Cookbook Name:: toad
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#

include_recipe "build-essential"

%w{git qt4-qmake libqt4-core libqt4-dev libqt4-webkit xvfb qt4-dev-tools libicu48 httperf}.each do |name|
  package name do
    action :install
  end
end

git "/home/brain/toad" do
   repository "git://github.com/brain-geek/toad.git"
   action :sync

  user "brain"
  group "brain"
end

execute "build toad" do
  command "qmake&&make clean&&make"
  cwd "/home/brain/toad"

  user "brain"
  group "brain"
end
{'fraction_non_alphanumeric': 0.11624072547403133, 'fraction_numerical': 0.018136850783182192, 'mean_word_length': 3.856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3384555', 'n_tokens_mistral': 485, 'n_tokens_neox': 451, 'n_words': 125}