Sha256: 5f2a1dc711be4489d3a4a9af47fd661afe26508ee2a0e10801cd4da1a596a764

Contents?: true

Size: 1.15 KB

Versions: 17

Compression:

Stored size: 1.15 KB

Contents

# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.

begin
  require 'bones'
  Bones.setup
rescue LoadError
  begin
    load 'tasks/setup.rb'
  rescue LoadError
    raise RuntimeError, '### please install the "bones" gem ###'
  end
end

ensure_in_path 'lib'
require 'endeca'

task :default => 'rcov'

desc "Simple benchmarking"
task :benchmark do
  sh('ruby example/benchmark.rb')
end
task :bm => :benchmark

desc "Flog your code for Justice!"
task :flog do
  sh('flog lib/**/*.rb')
end

desc "Run all specs and rcov in a non-sucky way"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_opts = IO.readlines("spec/spec.opts").map {|l| l.chomp.split " "}.flatten
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
end

PROJ.name = 'endeca'
PROJ.authors = ['Rein Henrichs', 'Andy Stone']
PROJ.email = ''
PROJ.url = 'http://github.com/primedia/endeca-ruby'
PROJ.version = Endeca::VERSION
PROJ.rubyforge.name = 'endeca-ruby'
PROJ.readme_file = "README.rdoc"

# EOF

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
primedia-endeca-0.9.0 Rakefile
primedia-endeca-0.9.1 Rakefile
primedia-endeca-0.9.10 Rakefile
primedia-endeca-0.9.11 Rakefile
primedia-endeca-0.9.12 Rakefile
primedia-endeca-0.9.13 Rakefile
primedia-endeca-0.9.14 Rakefile
primedia-endeca-0.9.15 Rakefile
primedia-endeca-0.9.16 Rakefile
primedia-endeca-0.9.2 Rakefile
primedia-endeca-0.9.3 Rakefile
primedia-endeca-0.9.4 Rakefile
primedia-endeca-0.9.5 Rakefile
primedia-endeca-0.9.6 Rakefile
primedia-endeca-0.9.7 Rakefile
primedia-endeca-0.9.8 Rakefile
primedia-endeca-0.9.9 Rakefile