Sha256: 1724b365cc7ee5d2648c53baa75258355f83a21934bec036aa8e7514540b4f62

Contents?: true

Size: 1.24 KB

Versions: 14

Compression:

Stored size: 1.24 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

begin; require 'metric_fu'; rescue LoadError; 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

14 entries across 14 versions & 2 rubygems

Version Path
primedia-endeca-0.14.0 Rakefile
primedia-endeca-1.0.0 Rakefile
primedia-endeca-1.1.0 Rakefile
primedia-endeca-1.2.0 Rakefile
primedia-endeca-1.3.0 Rakefile
primedia-endeca-1.3.1 Rakefile
primedia-endeca-1.3.2 Rakefile
primedia-endeca-1.3.3 Rakefile
primedia-endeca-1.3.4 Rakefile
primedia-endeca-1.3.5 Rakefile
primedia-endeca-1.3.6 Rakefile
primedia-endeca-1.3.7 Rakefile
endeca-1.3.8 Rakefile
endeca-1.3.7 Rakefile