Sha256: 37ac07ae34e149ab626549136a7da8617b4aa1baff98cce9ac2d5f0a099dd168

Contents?: true

Size: 1.19 KB

Versions: 9

Compression:

Stored size: 1.19 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'
PROJ.readme_file = "README.rdoc"
PROJ.exclude << '.swp'
PROJ.exclude << '.gitignore'

# EOF

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
primedia-endeca-0.10.0 Rakefile
primedia-endeca-0.10.1 Rakefile
primedia-endeca-0.11.0 Rakefile
primedia-endeca-0.12.0 Rakefile
primedia-endeca-0.9.22 Rakefile
primedia-endeca-0.9.23 Rakefile
primedia-endeca-0.9.24 Rakefile
primedia-endeca-0.9.25 Rakefile
primedia-endeca-0.9.26 Rakefile