Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b8ccbdc0c2
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (31 sloc) 0.806 kb
require 'rake'
desc "Run specs"
task "spec" => ["bundler:install:test", "test:spec"]
desc "Run specs using RCov"
task "spec:rcov" => ["bundler:install:test", "test:spec:rcov"]
namespace "bundler" do
desc "Install gems"
task "install" do
sh("bundle install")
end
desc "Install gems for test"
task "install:test" do
sh("bundle install --without development production")
end
desc "Install gems for production"
task "install:production" do
sh("bundle install --without development test")
end
desc "Install gems for development"
task "install:development" do
sh("bundle install --without test production")
end
end
namespace "test" do
task "spec" do |t|
sh("cd spec && rake spec")
end
task "spec:rcov" do |t|
sh("cd spec && rake spec:rcov")
end
end
Jump to Line
Something went wrong with that request. Please try again.