Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (31 sloc) 0.93 kb
require "rubygems"
require "rubygems/package_task"
Gem::PackageTask.new(eval(File.read("geminabox.gemspec"))) do |pkg|
end
desc 'Clear out generated packages'
task :clean => [:clobber_package]
require 'rake/testtask'
Rake::TestTask.new("test:integration") do |t|
t.libs << "test" << "lib"
t.pattern = "test/integration/**/*_test.rb"
end
Rake::TestTask.new("test:smoke:paranoid") do |t|
t.libs << "test" << "lib"
t.pattern = "test/smoke_test.rb"
end
desc "Run the smoke tests, faster."
task "test:smoke" do
$:.unshift("lib").unshift("test")
require "smoke_test"
end
Rake::TestTask.new("test:requests") do |t|
t.libs << "test" << "lib"
t.pattern = "test/requests/**/*_test.rb"
end
Rake::TestTask.new("test:units") do |t|
t.libs << "test" << "lib"
t.pattern = "test/units/**/*_test.rb"
end
task :st => "test:smoke"
task :test => ["test:units", "test:requests", "test:integration"]
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.