Sha256: 57f2a6709f3c4263e5dbcb70616cb6a410e2f3fa2683cea6d29ea47699662200
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
require 'rubygems' require File.join(File.dirname(__FILE__),'lib', 'endeca') desire('rake') desire('rcov') desire('spec/rake/spectask') 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 begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "endeca" gemspec.version = Endeca.version gemspec.summary = "Endeca adapter for use with the Endeca Bridge" gemspec.email = "" gemspec.homepage = 'http://github.com/primedia/endeca-ruby' gemspec.authors = ["Primedia Team"] gemspec.add_development_dependency('rspec') end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
endeca-1.4.0 | Rakefile |