Sha256: 4fd1785350abb5f9db030758ea085eb68ab268700211b0367680dd95be4bd947

Contents?: true

Size: 441 Bytes

Versions: 15

Compression:

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

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

15 entries across 15 versions & 1 rubygems

Version Path
pg_search-0.7.0 Rakefile
pg_search-0.6.4 Rakefile
pg_search-0.6.3 Rakefile
pg_search-0.6.2 Rakefile
pg_search-0.6.1 Rakefile
pg_search-0.6.0 Rakefile
pg_search-0.5.7 Rakefile
pg_search-0.5.6 Rakefile
pg_search-0.5.5 Rakefile
pg_search-0.5.4 Rakefile
pg_search-0.5.3 Rakefile
pg_search-0.5.2 Rakefile
pg_search-0.5.1 Rakefile
pg_search-0.5 Rakefile
pg_search-0.4.2 Rakefile