Sha256: c2cad139aaf35812ee65b11941dc13c9f75e991ac3d091f0aa91b0020bf6ee3f

Contents?: true

Size: 524 Bytes

Versions: 7

Compression:

Stored size: 524 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

task :default => :spec

def bundle_exec(command)
  sh %Q{bundle update && bundle exec #{command}}
end

desc "Run all specs"
task "spec" do
  bundle_exec("rspec spec")
end

task "doc" do
  bundle_exec("rspec --format d spec")
end

desc "Launch autotest"
task "autotest" do
  bundle_exec("autotest -s rspec2")
end

namespace "doc" do
  desc "Generate README and preview in browser"
  task "readme" do
    sh "rdoc -c utf8 README.rdoc && open doc/README_rdoc.html"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pg_search-0.4.1 Rakefile
pg_search-0.4 Rakefile
pg_search-0.3.4 Rakefile
pg_search-0.3.3 Rakefile
pg_search-0.3.2 Rakefile
pg_search-0.3.1 Rakefile
pg_search-0.3 Rakefile